startup script was adding blank lines in the pam files that has been corrected.

This commit is contained in:
Cameron (Kamran) Mashayekhi 2006-02-02 18:28:48 +00:00
parent c3bccfd316
commit f881a96c7a

View File

@ -40,13 +40,13 @@ case "$1" in
/account/ {
if (!acctSeen && authSeen)
{
print "auth\trequired\tpam_micasa.so\n";}
print "auth\trequired\tpam_micasa.so";}
acctSeen++;
}
/session/ { sesSeen++; }
// {print $0; }
END { if (sesSeen)
print "session\trequired\tpam_micasa.so\n"; }
print "session\trequired\tpam_micasa.so"; }
' $file > $file.sav
mv $file.sav $file
fi