CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gzip: updated to 1.8
[crossrootfs.git]
/
rc
/
rc.shutdown
diff --git
a/rc/rc.shutdown
b/rc/rc.shutdown
index 4888a8e0872d0a955e3bd66a8ec85427a3168cc0..63fbd431d51e2904c2012e2fbf417872e96bf14f 100755
(executable)
--- a/
rc/rc.shutdown
+++ b/
rc/rc.shutdown
@@
-43,10
+43,14
@@
fi
/sbin/swapoff -a
# Unmount file systems
/sbin/swapoff -a
# Unmount file systems
+/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/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
# Power off or reboot
if [ "$RUNLEVEL" = "0" ]; then