git: 9front

Download patch

ref: 5afe1e445d659d7f58f189e65481ee18b77971ec
parent: 3fe701c2f16ba397c57e689a4d1d20418794771f
author: aiju <aiju@phicode.de>
date: Tue Jul 19 12:31:14 EDT 2011

fshalt: scram the local machine

--- a/rc/bin/fshalt
+++ b/rc/bin/fshalt
@@ -76,7 +76,10 @@
 		echo rebooting...
 		echo reboot >'#c/reboot'
 	}
-	if not scram
+	if not {
+		bind -b '#P' /dev
+		scram
+	}
 }
 
 x
--