]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- sysfs added to remaining list in rc.shutdown
authorhavner <havner@pld-linux.org>
Wed, 8 Oct 2003 14:55:03 +0000 (14:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-sysfs.patch -> 1.1

rc-scripts-sysfs.patch [new file with mode: 0644]

diff --git a/rc-scripts-sysfs.patch b/rc-scripts-sysfs.patch
new file mode 100644 (file)
index 0000000..e2dd8a0
--- /dev/null
@@ -0,0 +1,21 @@
+diff -urN rc-scripts.orig/rc.d/rc.shutdown rc-scripts-0.4.0.2/rc.d/rc.shutdown
+--- rc-scripts.orig/rc.d/rc.shutdown   2003-10-02 20:46:49.000000000 +0200
++++ rc-scripts-0.4.0.2/rc.d/rc.shutdown        2003-10-08 16:49:56.178983872 +0200
+@@ -40,7 +40,7 @@
+ sig=-15
+ retry=3
+ force=
+-remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | iso9660 | ramfs | tmpfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
++remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | iso9660 | ramfs | tmpfs | sysfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
+ while [ -n "$remaining" -a "$retry" -gt 0 ]
+ do    
+       show "Unmounting file systems" ; busy
+@@ -52,7 +52,7 @@
+       fi
+       
+       sleep 2
+-      remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
++      remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | sysfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
+       [ -z "$remaining" ] && break
+       /sbin/fuser -k -m $sig $remaining > /dev/null
+       sleep 5
This page took 0.078676 seconds and 4 git commands to generate.