cleanfs script from lfs-bootscripts-1.9

Florian Bachmann f_bachmann at t-online.de
Sat May 18 08:29:06 PDT 2002


Hi,

The line

rm -rf /var/run/* /var/lock/*

removes the /var/run/console sub directory, which is required by the 
pam_console.so PAM module. Maybe this should be replaced with something 
like this

for F in /var/run/*; do
        [ "$F" = "console" ] && continue
        rm -rf $F
done


Kind regards,
Florian

-- 
Florian Bachmann <f_bachmann at t-online.de>
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list