rc: update to 2.27
some minor improvements to rc.shutdown: + remove unneeded -m umount option + add devtmpfs to the filesystems we keep on umount -a + add --detach-loop to the umount options
This commit is contained in:
parent
d19d353510
commit
2841a78c7d
@ -5,5 +5,5 @@ afe5cd67920474246ae74e54a9845339 rc.fix
|
||||
d1be35927946756c68242f29c16ee983 rc.local
|
||||
394d5cff98ab59fd1a0ec64fe79292cb rc.modules
|
||||
a2d24525ca3ff1daf5753edcdf89466b rc.multi
|
||||
d3a1e6e3edad489020fd56305bed8d6f rc.shutdown
|
||||
a46c238c63564a289318b771f81e602d rc.shutdown
|
||||
d8d9bd102b0177a7bb30db9fd088a6e8 rc.single
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
|
||||
name=rc
|
||||
version=2.26
|
||||
release=3
|
||||
version=2.27
|
||||
release=1
|
||||
source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf)
|
||||
|
||||
build() {
|
||||
|
@ -43,14 +43,14 @@ fi
|
||||
/sbin/swapoff -a
|
||||
|
||||
# Unmount file systems
|
||||
/bin/umount -a -r -t nosysfs,noproc
|
||||
/bin/umount -a -d -r -t nosysfs,noproc,nodevtmpfs
|
||||
if [ -x /sbin/lvm ]; then
|
||||
/sbin/vgchange --ignorelockingfailure -a n
|
||||
fi
|
||||
/bin/umount -a -r
|
||||
|
||||
# Remount root filesystem read-only
|
||||
/bin/mount -n -o remount,ro /
|
||||
/bin/mount -o remount,ro /
|
||||
|
||||
# Power off or reboot
|
||||
if [ "$RUNLEVEL" = "0" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user