Changeset 5e06d04 for bootscripts/lfs/init.d/cleanfs
- Timestamp:
- 02/01/2021 08:37:19 AM (3 years ago)
- Branches:
- multilib-10.1
- Children:
- f695e02
- Parents:
- 3e73c5d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/cleanfs
r3e73c5d r5e06d04 22 22 # Default-Stop: 23 23 # Short-Description: Cleans temporary directories early in the boot process. 24 # Description: Cleans temporary directories / var/run, /var/lock, and25 # optionally, /tmp. cleanfs also creates / var/run/utmp24 # Description: Cleans temporary directories /run, /var/lock, and 25 # optionally, /tmp. cleanfs also creates /run/utmp 26 26 # and any files defined in /etc/sysconfig/createfiles. 27 27 # X-LFS-Provided-By: LFS … … 96 96 fi 97 97 98 > / var/run/utmp98 > /run/utmp 99 99 100 100 if grep -q '^utmp:' /etc/group ; then 101 chmod 664 / var/run/utmp102 chgrp utmp / var/run/utmp101 chmod 664 /run/utmp 102 chgrp utmp /run/utmp 103 103 fi 104 104
Note:
See TracChangeset
for help on using the changeset viewer.