summaryrefslogtreecommitdiff
path: root/rc/bin/fshalt
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2011-04-20 03:49:58 +0000
committerstanley lieber <stanley.lieber@gmail.com>2011-04-20 03:49:58 +0000
commitfbea254ad3b2bb3f19ed1f365ceece214da95bfd (patch)
treec1a50c99a631121a7a6b6a0eee6fc15e933c397f /rc/bin/fshalt
parent94c8e58f1415040860b876e1ce424c2519895cf9 (diff)
downloadplan9front-fbea254ad3b2bb3f19ed1f365ceece214da95bfd.tar.xz
add Fish-'s installer patches; possibly not in a working state. testing/fixes requested.
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