code: purgatorio

Download patch

ref: 57c522a6b71132167243a28c58184f70219d069a
parent: 02ac617541ca1a7bf82b1615fb5a58235469b5d3
author: henesy <devnull@localhost>
date: Mon Nov 5 07:42:59 EST 2018

fix networking to be in scope when emu is first called

--- a/lib/sh/profile
+++ b/lib/sh/profile
@@ -1,6 +1,9 @@
 # emu sh initialisation here
 load std
 
+# Networking
+bind -b '#scs' /net
+
 # Run the user's profile
 if {test -r /usr/inferno/lib/profile} {
 	sh /usr/^`{cat /dev/user}^/lib/profile
--- a/usr/inferno/lib/profile
+++ b/usr/inferno/lib/profile
@@ -5,7 +5,6 @@
 # Networking
 ndb/cs
 ndb/dns
-bind -b '#scs' /net
 
 # /opt package setup
 /opt/setup/cmd