From 2d5a1f020c394d6488b97d75dda8d790d914b40e Mon Sep 17 00:00:00 2001 From: Kirk Webb <kwebb@flux.utah.edu> Date: Thu, 23 Oct 2003 22:27:53 +0000 Subject: [PATCH] Created a new RC file for plab daemon startup per Rob's suggetion. It isn't installed by the "install" make target. --- rc.d/3.plab.sh.in | 15 +++++++++++++++ rc.d/3.testbed.sh.in | 13 ------------- 2 files changed, 15 insertions(+), 13 deletions(-) create mode 100755 rc.d/3.plab.sh.in diff --git a/rc.d/3.plab.sh.in b/rc.d/3.plab.sh.in new file mode 100755 index 0000000000..638547276b --- /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 ce4be1aadf..06bed543e5 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! -- GitLab