fshalt: have to bind
This commit is contained in:
parent
76c3214389
commit
79e59f5beb
1 changed files with 4 additions and 4 deletions
|
@ -33,6 +33,9 @@ for (i in $k){
|
||||||
sleep 2
|
sleep 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# for scram
|
||||||
|
bind -b '#P' /dev
|
||||||
|
|
||||||
# halting (binaries we run can't be on the fs we're halting)
|
# halting (binaries we run can't be on the fs we're halting)
|
||||||
ramfs
|
ramfs
|
||||||
builtin cd /tmp
|
builtin cd /tmp
|
||||||
|
@ -76,10 +79,7 @@ fn x {
|
||||||
echo rebooting...
|
echo rebooting...
|
||||||
echo reboot >'#c/reboot'
|
echo reboot >'#c/reboot'
|
||||||
}
|
}
|
||||||
if not {
|
if not scram
|
||||||
bind -b '#P' /dev
|
|
||||||
scram
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
x
|
x
|
||||||
|
|
Loading…
Reference in a new issue