git: 9front

Download patch

ref: 9e2c975e5edc10cda4830cae576ace07d37459e9
parent: f4c9d163e8c601454f036b02f0325ec18b4bb6d4
author: cinap_lenrek <cinap_lenrek@localhost>
date: Wed Jul 20 06:26:56 EDT 2011

fshalt: have to bind

--- a/rc/bin/fshalt
+++ b/rc/bin/fshalt
@@ -33,6 +33,9 @@
 	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 @@
 		echo rebooting...
 		echo reboot >'#c/reboot'
 	}
-	if not {
-		bind -b '#P' /dev
-		scram
-	}
+	if not scram
 }
 
 x
--