Commit 043974cb authored by Ryan Jackson's avatar Ryan Jackson
Browse files

Move rc.mfs, rc.ipod and rc.frisbee scripts to /etc/testbed/rc

parent 4da34f8e
......@@ -20,20 +20,20 @@ start() {
case $mode in
admin)
script=$BINDIR/rc.mfs
script=$BINDIR/rc/rc.mfs
;;
newnode)
script=$BINDIR/newclient
;;
frisbee)
script=$BINDIR/rc.frisbee
script=$BINDIR/rc/rc.frisbee
;;
*)
echo "Invalid mode \"$mode\"" 1>&2
script=$BINDIR/rc.mfs
script=$BINDIR/rc/rc.mfs
;;
esac
echo "Starting ${script##*/}..."
exec $script
......@@ -44,7 +44,7 @@ stop() {
}
restart() {
:
}
}
case "$1" in
start)
......
......@@ -58,8 +58,8 @@ script-install:
ln -sf /etc/testbed $(TARGET_PATH)/usr/local/etc/emulab
install -m 755 $(TESTBEDOBJ_PATH)/tmcd/linux/sethostname.dhclient $(TARGET_PATH)/usr/share/udhcpc
install -m 755 $(TMCD_PATH)/linux/control_interface $(TARGET_PATH)/etc/testbed
install -m 755 $(TMCD_PATH)/linux/rc.frisbee $(TARGET_PATH)/etc/testbed
install -m 755 $(TMCD_PATH)/linux/rc.ipod $(TARGET_PATH)/etc/testbed
install -m 755 $(TMCD_PATH)/linux/rc.frisbee $(TARGET_PATH)/etc/testbed/rc
install -m 755 $(TMCD_PATH)/linux/rc.ipod $(TARGET_PATH)/etc/testbed/rc
install -m 755 $(TMCD_PATH)/linux/slicefix $(TARGET_PATH)/etc/testbed
install -m 755 $(TMCD_PATH)/linux/freebsd_to_linux_disk $(TARGET_PATH)/etc/testbed
install -m 755 $(TMCD_PATH)/linux/mount_bsd_slice $(TARGET_PATH)/etc/testbed
......@@ -84,7 +84,7 @@ script-install:
ln -sf /usr/bin/tmcc $(TARGET_PATH)/etc/testbed/tmcc
install -m 755 $(TMCD_PATH)/common/config/librc.pm $(TARGET_PATH)/etc/testbed
install -m 755 $(TMCD_PATH)/common/config/rc.config $(TARGET_PATH)/etc/testbed/rc
install -m 755 $(TMCD_PATH)/linux/rc.mfs $(TARGET_PATH)/etc/testbed
install -m 755 $(TMCD_PATH)/linux/rc.mfs $(TARGET_PATH)/etc/testbed/rc
install -m 755 $(TMCD_PATH)/common/config/rc.misc $(TARGET_PATH)/etc/testbed/rc
install -m 755 $(TMCD_PATH)/common/config/rc.localize $(TARGET_PATH)/etc/testbed/rc
install -m 755 $(TMCD_PATH)/common/config/rc.mounts $(TARGET_PATH)/etc/testbed/rc
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment