diff --git a/rc.d/3.plab.sh.in b/rc.d/3.plab.sh.in new file mode 100755 index 0000000000000000000000000000000000000000..638547276be08a3857ec97fd526cf23365184e80 --- /dev/null +++ b/rc.d/3.plab.sh.in @@ -0,0 +1,15 @@ +#!/bin/sh +# +# Utah Network Testbed plab startup +# +if [ -x @prefix@/sbin/plabdaemon ]; then + echo -n " plabrenew" + @prefix@/sbin/plabdaemon -v renew + echo -n " plabgetfree" + @prefix@/sbin/plabdaemon -v getfree +fi + +if [ -x @prefix@/sbin/plabmonitord ]; then + echo -n " plabmonitord" + @prefix@/sbin/plabmonitord +fi diff --git a/rc.d/3.testbed.sh.in b/rc.d/3.testbed.sh.in index ce4be1aadfec866cc183bbcd66e1bbfa54f9f973..06bed543e580a00d120d3b2819dc1310cda78d46 100755 --- a/rc.d/3.testbed.sh.in +++ b/rc.d/3.testbed.sh.in @@ -72,19 +72,6 @@ if [ -x @prefix@/sbin/eventsys_start ]; then @prefix@/sbin/eventsys_start fi -if [ -x @prefix@/sbin/plabdaemon ]; then - echo -n " plabrenew" - @prefix@/sbin/plabdaemon -v renew - echo -n " plabgetfree" - @prefix@/sbin/plabdaemon -v getfree -fi - -if [ -x @prefix@/sbin/plabmonitord ]; then - echo -n " plabmonitord" - @prefix@/sbin/plabmonitord -fi - - # # Could trigger experiment creation, so make sure everything else # is setup first; i.e., run this last!