]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Do not delete hwprofile configuration (Tomasz Witek <tiwek@tiwek.com>).
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Feb 2004 21:37:13 +0000 (21:37 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Feb 2004 21:37:13 +0000 (21:37 +0000)
svn-id: @3269

rc.d/rc.sysinit

index 134c3f9c3acf4e35ab3a431f84747aa6acbf8da3..8b4564e51af6cee9d839386bd9a1e78b13f6d61c 100755 (executable)
@@ -687,7 +687,7 @@ for afile in /var/lock/* /var/run/*; do
                bafile=$(basename $afile)
                [ "$bafile" != "news" -a "$bafile" != "sudo" -a "$bafile" != "mon" ] && rm -rf $afile/*
        else
-               rm -f $afile 2> /dev/null
+               [ "$bafile" != "hwprofile" ] && rm -f $afile 2> /dev/null
        fi
 done
 # Delete stale files
This page took 0.043265 seconds and 4 git commands to generate.