fshalt: rfork n to avoid limbo namespace when the command fails

This commit is contained in:
cinap_lenrek 2013-12-22 17:26:31 +01:00
parent 5fbc2ea9ce
commit 66f86d03a5

View file

@ -1,7 +1,7 @@
#!/bin/rc
# fshalt [-r] - sync (flush) and, if possible, halt all file servers
# and optionally reboot
rfork e
rfork en
reboot=no
scram=no
switch ($#*) {