shithub: ninethings

Download patch

ref: c51c137fbf90e58d63918580fcd485f6927e503f
parent: 3192bb81e931894a47f51b95288f324fca9978a2
author: Aaron Bieber <aaron@bolddaemon.com>
date: Mon Nov 13 05:17:26 EST 2023

martin: add some messages to startup

--- a/martin/termrc
+++ b/martin/termrc
@@ -1,19 +1,27 @@
 #!/bin/rc
 
-ip/ipconfig loopback /dev/null 127.1
+fn msg {
+	echo '==>' $*
+}
 
 nvram=/dev/sdN0/nvram
 secstore=tcp!127.1!5356
 
-echo starting keyfs...
+msg creating loopback...
+ip/ipconfig loopback /dev/null 127.1
+
+msg starting keyfs...
 auth/keyfs -wp -m /mnt/keys /adm/keys
 
-echo starting secstored...
+msg starting secstored...
 auth/secstored -s tcp!127.1!5356
 
-echo starting reform tools...
+msg starting reform tools...
 reform/pm
 reform/audio
+
+msg binding ether1
+bind -a '#l1' /net