summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2012-11-28 13:53:39 +0100
committerJuergen Daubert <jue@jue.li>2012-11-28 13:53:39 +0100
commit2841a78c7d0fb0e8d3b0845772101765ec451aa7 (patch)
tree24e2c659a47003ad0261fee84dbcab9a72e894d8 /rc
parentd19d3535100e87d519ab813e0e5a40a116fe4814 (diff)
downloadcore-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/.md5sum2
-rw-r--r--rc/Pkgfile4
-rwxr-xr-xrc/rc.shutdown4
3 files changed, 5 insertions, 5 deletions
diff --git a/rc/.md5sum b/rc/.md5sum
index 8a410a83..9806212e 100644
--- a/rc/.md5sum
+++ b/rc/.md5sum
@@ -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
diff --git a/rc/Pkgfile b/rc/Pkgfile
index e6b708ff..fbb2900f 100644
--- a/rc/Pkgfile
+++ b/rc/Pkgfile
@@ -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

Generated by cgit