diff options
author | Juergen Daubert <jue@jue.li> | 2012-11-28 13:53:39 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2012-11-28 13:53:39 +0100 |
commit | 2841a78c7d0fb0e8d3b0845772101765ec451aa7 (patch) | |
tree | 24e2c659a47003ad0261fee84dbcab9a72e894d8 /rc | |
parent | d19d3535100e87d519ab813e0e5a40a116fe4814 (diff) | |
download | core-2841a78c7d0fb0e8d3b0845772101765ec451aa7.tar.gz core-2841a78c7d0fb0e8d3b0845772101765ec451aa7.tar.xz |
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
Diffstat (limited to 'rc')
-rw-r--r-- | rc/.md5sum | 2 | ||||
-rw-r--r-- | rc/Pkgfile | 4 | ||||
-rwxr-xr-x | rc/rc.shutdown | 4 |
3 files changed, 5 insertions, 5 deletions
@@ -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() { diff --git a/rc/rc.shutdown b/rc/rc.shutdown index 790117e7..63fbd431 100755 --- a/rc/rc.shutdown +++ b/rc/rc.shutdown @@ -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 |