]> git.pld-linux.org Git - packages/rc-scripts.git/blame - rc-scripts-sysfs.patch
- obsolete (merged into sources)
[packages/rc-scripts.git] / rc-scripts-sysfs.patch
CommitLineData
ee1ec13f 1diff -urN rc-scripts.orig/rc.d/rc.shutdown rc-scripts-0.4.0.2/rc.d/rc.shutdown
2--- rc-scripts.orig/rc.d/rc.shutdown 2003-10-02 20:46:49.000000000 +0200
3+++ rc-scripts-0.4.0.2/rc.d/rc.shutdown 2003-10-08 16:49:56.178983872 +0200
4@@ -40,7 +40,7 @@
5 sig=-15
6 retry=3
7 force=
8-remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | iso9660 | ramfs | tmpfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
9+remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | iso9660 | ramfs | tmpfs | sysfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
10 while [ -n "$remaining" -a "$retry" -gt 0 ]
11 do
12 show "Unmounting file systems" ; busy
13@@ -52,7 +52,7 @@
14 fi
15
16 sleep 2
17- remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
18+ remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | sysfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
19 [ -z "$remaining" ] && break
20 /sbin/fuser -k -m $sig $remaining > /dev/null
21 sleep 5
This page took 0.033248 seconds and 4 git commands to generate.