~ubuntu-branches/ubuntu/karmic/thinkfinger/karmic

« back to all changes in this revision

Viewing changes to debian/pam-thinkfinger-enable

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-04-11 09:26:45 UTC
  • Revision ID: james.westby@ubuntu.com-20080411092645-f17qcryft4yp1jv9
Tags: 0.3+r118-0ubuntu3
Correct pam-thinkfinger-enable script to enable the right module.
LP: #215543.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
   exit 1
8
8
fi
9
9
 
10
 
if grep fingerprint $PAMFILE >/dev/null; then
 
10
if grep thinkfinger $PAMFILE >/dev/null; then
11
11
   echo "fingerprint reader already enabled" 2>&1
12
12
   exit 1
13
13
fi
26
26
        /try_first_pass/q
27
27
        s/^(auth[ \t].*[ \t]pam_unix\.so)/\1 try_first_pass/
28
28
        i \
29
 
        auth\tsufficient\tpam_fingerprint.so
 
29
        auth\tsufficient\tpam_thinkfinger.so
30
30
}" $PAMFILE