From 79e59f5beb849b2e1a133d6443c0c48787658cae Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 20 Jul 2011 10:26:56 +0200 Subject: [PATCH] fshalt: have to bind --- rc/bin/fshalt | 8 ++++---- 1 file 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