summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authoraiju <aiju@phicode.de>2011-07-19 16:31:14 +0200
committeraiju <aiju@phicode.de>2011-07-19 16:31:14 +0200
commit943b0d46099e72a9e06efdf855d37ffe546b3ff5 (patch)
tree977939f28085e952961223e42b0b3b060ed728f8 /rc
parent03d71535eca82570372650678eb91e447eacfb86 (diff)
fshalt: scram the local machine
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/fshalt5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc/bin/fshalt b/rc/bin/fshalt
index ad3dc52c8..47f4d494b 100755
--- a/rc/bin/fshalt
+++ b/rc/bin/fshalt
@@ -76,7 +76,10 @@ fn x {
echo rebooting...
echo reboot >'#c/reboot'
}
- if not scram
+ if not {
+ bind -b '#P' /dev
+ scram
+ }
}
x