termrc: termrc.local can start ndb/cs for us, so check if its already running
This commit is contained in:
parent
ec49732fae
commit
8a903895a0
1 changed files with 3 additions and 2 deletions
|
@ -37,8 +37,9 @@ rm -f /env/disk
|
|||
if(test -e /rc/bin/termrc.local)
|
||||
. /rc/bin/termrc.local
|
||||
|
||||
# cs sets sysname
|
||||
ndb/cs
|
||||
# cs sets sysname (termrc.local may already have started it so check)
|
||||
if(! test -e /srv/cs && ! test -e /net/cs)
|
||||
ndb/cs
|
||||
sysname=`{cat /dev/sysname}
|
||||
if(~ $#sysname 0 || ~ $sysname ''){
|
||||
sysname=cirno # default
|
||||
|
|
Loading…
Reference in a new issue