summaryrefslogtreecommitdiff
path: root/rc/bin/fshalt
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/fshalt')
-rwxr-xr-xrc/bin/fshalt7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc/bin/fshalt b/rc/bin/fshalt
index f288786fb..42434da61 100755
--- a/rc/bin/fshalt
+++ b/rc/bin/fshalt
@@ -27,6 +27,7 @@ sleep 1
f=`{ls /srv/fscons*>[2]/dev/null}
k=`{ls /srv/kfs*cmd >[2]/dev/null|sort -r}
+c=`{ls /srv/cwfs*cmd >[2]/dev/null}
echo -n syncing...
for(i in $f) @ {
@@ -58,6 +59,12 @@ for (i in $k){
sleep 2
}
+for (i in $c){
+ echo -n $i...
+ echo halt >>$i
+ sleep 2
+}
+
# halting (binaries we run can't be on the fs we're halting)
ramfs
builtin cd /tmp