mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
dont configure loopback interfaces
This commit is contained in:
parent
07cfc31444
commit
36ab78221c
2 changed files with 2 additions and 14 deletions
|
@ -30,8 +30,6 @@ if(test -e /cfg/$sysname/cpurc)
|
|||
# start up internet if we don't already have an address
|
||||
if(! grep u /net/ipselftab | grep -sv 127.0.0.1)
|
||||
ip/ipconfig
|
||||
if(! grep -s 127.0.0.1 /net/ipselftab)
|
||||
ip/ipconfig loopback /dev/null 127.1
|
||||
|
||||
# if we're not a server, start a dns resolver
|
||||
if(! test -e /srv/dns)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/bin/rc
|
||||
# the 9pcf kernel runs this file
|
||||
|
||||
# terminal startup
|
||||
TIMESYNCARGS=(-rLa1000000)
|
||||
NDBFILE=/lib/ndb/local
|
||||
|
||||
|
@ -60,15 +59,6 @@ if(! ~ $terminal *vx32*){
|
|||
if(! ps|grep -s timesync)
|
||||
if(! ~ $TIMESYNCARGS '')
|
||||
aux/timesync $TIMESYNCARGS
|
||||
|
||||
# add the loop-back medium
|
||||
if(! grep -s 127.0.0.1 /net/ipselftab)
|
||||
ip/ipconfig loopback /dev/null 127.1 >/dev/null >[2=1]
|
||||
|
||||
# set things up for vmware
|
||||
if(! ~ `{cat /dev/user} none)
|
||||
if(test -e /bin/aux/vmware)
|
||||
aux/vmware
|
||||
}
|
||||
|
||||
fn ask {
|
||||
|
@ -116,4 +106,4 @@ rm -f '/env/fn#ask'
|
|||
if (test -f /dev/apm)
|
||||
aux/apm
|
||||
|
||||
dontkill '^(ipconfig|factotum|mntgen|fossil|kfs|cwfs.*|cs|dns|listen|reboot)$'
|
||||
dontkill '^(ipconfig|factotum|mntgen|kfs|cwfs.*|cs|dns|listen|reboot)$'
|
||||
|
|
Loading…
Reference in a new issue