diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2011-05-14 21:00:31 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2011-05-14 21:00:31 +0000 |
commit | dc55fb5e4b99cd1150afe41f7ce50333a773bb6a (patch) | |
tree | 3d49341fb38468a5f6c85b54c08171ced1e96c90 /bootscripts/contrib/lsb-v3/etc/init.d/cleanfs | |
parent | b4a678295e56da7be73a847cb460b477a54efc8a (diff) |
Changes per thread starting at http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2011-May/064677.html
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9532 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/etc/init.d/cleanfs')
-rw-r--r-- | bootscripts/contrib/lsb-v3/etc/init.d/cleanfs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootscripts/contrib/lsb-v3/etc/init.d/cleanfs b/bootscripts/contrib/lsb-v3/etc/init.d/cleanfs index 96582c28c..2e71456ee 100644 --- a/bootscripts/contrib/lsb-v3/etc/init.d/cleanfs +++ b/bootscripts/contrib/lsb-v3/etc/init.d/cleanfs @@ -12,7 +12,7 @@ # Short-Description: Cleans temporary directories early in the boot process. # Description: Cleans temporary directories /var/run, /var/lock, and # /tmp. cleanfs also creates /var/run/utmp and any files -# defined in /etc/sysconfig/createfiles. +# defined in /etc/default/createfiles. # X-LFS-Provided-By: LFS ### END INIT INFO @@ -22,7 +22,7 @@ create_files() { # Read in the configuration file. - exec 9>&0 < /etc/sysconfig/createfiles + exec 9>&0 < /etc/default/createfiles while read name type perm usr grp dtype maj min junk do # Ignore comments and blank lines. @@ -89,7 +89,7 @@ case "${1}" in (exit ${failed}) evaluate_retval standard - if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null + if egrep -qv '^(#|$)' /etc/default/createfiles 2>/dev/null then message="Creating files and directories..." create_files |