From fbea254ad3b2bb3f19ed1f365ceece214da95bfd Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Wed, 20 Apr 2011 03:49:58 +0000 Subject: add Fish-'s installer patches; possibly not in a working state. testing/fixes requested. --- rc/bin/fshalt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rc/bin/fshalt') 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 -- cgit v1.2.3