shithub: ninethings

Download patch

ref: 069d67e952f29510fd09f835c5157799167e3399
parent: a2aa491b3b75b406d876de488598891513547761
author: Aaron Bieber <[email protected]>
date: Wed Feb 7 09:16:25 EST 2024

termrc: run df after dumping

--- a/martin/termrc.local
+++ b/martin/termrc.local
@@ -3,7 +3,7 @@
 nvram=/dev/sdN0/nvram
 secstore=tcp!127.1!5356
 
-if(! test -e /srv/cs && ! test -e /net/cs)
+if(! test -e >/srv/cs && ! test -e /net/cs)
 	ndb/cs
 sysname=`{cat /dev/sysname}
 
@@ -11,6 +11,10 @@
 	echo '==>' $*
 }
 
+msg dumping fs...
+echo dump >>/srv/hjfs.cmd
+echo df >>/srv/hjfs.cmd
+
 msg creating loopback...
 ip/ipconfig loopback /dev/null 127.1
 
@@ -20,9 +24,6 @@
 msg starting secstored...
 auth/secstored -s tcp!127.1!5356
 auth/factotum
-
-msg dumping fs...
-echo dump >/srv/hjfs.cmd
 
 msg setting up networking...
 bind -a '#B' /net