shithub: riscv

Download patch

ref: 943b0d46099e72a9e06efdf855d37ffe546b3ff5
parent: 03d71535eca82570372650678eb91e447eacfb86
author: aiju <[email protected]>
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