diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-07-20 10:26:56 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-07-20 10:26:56 +0200 |
commit | 79e59f5beb849b2e1a133d6443c0c48787658cae (patch) | |
tree | e5086a9275dc713dd8d78ac56b4daca01b29d399 /rc | |
parent | 76c321438945be7bb9eca6a954a9040ce92e2ddf (diff) |
fshalt: have to bind
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/fshalt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rc/bin/fshalt b/rc/bin/fshalt index 47f4d494b..867276c2d 100755 --- a/rc/bin/fshalt +++ b/rc/bin/fshalt @@ -33,6 +33,9 @@ for (i in $k){ sleep 2 } +# for scram +bind -b '#P' /dev + # halting (binaries we run can't be on the fs we're halting) ramfs builtin cd /tmp @@ -76,10 +79,7 @@ fn x { echo rebooting... echo reboot >'#c/reboot' } - if not { - bind -b '#P' /dev - scram - } + if not scram } x |