diff options
| author | stanley lieber <stanley.lieber@gmail.com> | 2011-04-20 03:49:58 +0000 |
|---|---|---|
| committer | stanley lieber <stanley.lieber@gmail.com> | 2011-04-20 03:49:58 +0000 |
| commit | fbea254ad3b2bb3f19ed1f365ceece214da95bfd (patch) | |
| tree | c1a50c99a631121a7a6b6a0eee6fc15e933c397f /rc/bin/fshalt | |
| parent | 94c8e58f1415040860b876e1ce424c2519895cf9 (diff) | |
| download | plan9front-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-x | rc/bin/fshalt | 7 |
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 |
