ref: 8a903895a08c67fb4bb02fb21e2186a0e08b0513
parent: ec49732fae424d0e8b567e3f82eab3ba16cd1b59
author: cinap_lenrek <[email protected]>
date: Wed Feb 27 13:04:35 EST 2013
termrc: termrc.local can start ndb/cs for us, so check if its already running
--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -37,8 +37,9 @@
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