code: 9ferno

Download patch

ref: d11e24ad4b18a403a80819382652b36c50266c53
parent: c70d9304f4e189581810f4be4057ba8eff111bad
author: henesy <unknown>
date: Mon Nov 5 13: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