Skip to content
Snippets Groups Projects
Commit f5661771 authored by Mike Hibler's avatar Mike Hibler
Browse files

Purge elvin from client-side.

A little lint removal.
parent 1cdd8628
No related branches found
No related tags found
No related merge requests found
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2003, 2004 University of Utah and the Flux Group.
* Copyright (c) 2003, 2004, 2007 University of Utah and the Flux Group.
* All rights reserved.
*/
......@@ -16,6 +16,8 @@
#include <ctype.h>
#include <netdb.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include <math.h>
#include <paths.h>
......
......@@ -59,7 +59,6 @@ mfs-install: destdircheck common-install etc-install \
$(INSTALL) -m 755 $(SRCDIR)/camwce $(BINDIR)/camwce
cp $(SRCDIR)/mfs-rc.conf $(SYSETCDIR)/rc.conf
rm -f $(BINDIR)/rc/rc.mkelab
rm -f $(RCDIR)/elvind.sh
@if [ ! -f $(ISMFS) ]; then \
echo >$(ISMFS) "This file indicates its the MFS. DO NOT DELETE!"; \
fi
......@@ -97,7 +96,6 @@ frisbee-mfs-install: destdircheck
$(INSTALL) -m 755 -s ../tmcc-nossl $(SYSETCDIR)/testbed/tmcc
$(INSTALL) -m 755 -s ../findif $(SYSETCDIR)/testbed
rm -f $(BINDIR)/rc/rc.mkelab
rm -f $(RCDIR)/elvind.sh
cdboot-install: destdircheck common-install etc-install \
script-install bin-install
......@@ -186,7 +184,6 @@ sysetc-install: dir-install
$(SYSETCDIR)/dhclient-enter-hooks
$(INSTALL) -m 755 $(SRCDIR)/periodic.conf $(SYSETCDIR)/periodic.conf
$(INSTALL) -m 755 $(SRCDIR)/testbed.sh $(RCDIR)/testbed.sh
$(INSTALL) -m 755 $(SRCDIR)/elvind.sh $(RCDIR)/elvind.sh
script-install: dir-install $(SCRIPTS)
$(INSTALL) -m 755 $(SRCDIR)/prepare $(BINDIR)/prepare
......
#!/bin/sh
#
# This is the client node version of elvind startup
#
case "$1" in
start)
if [ -x /usr/local/libexec/elvind ]; then
/usr/local/libexec/elvind
fi
;;
stop)
/usr/bin/killall elvind > /dev/null 2>&1 && echo -n ' elvind'
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# Copyright (c) 2000-2005, 2007 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -62,7 +62,6 @@ etc-install: dir-install sysetc-remove sysetc-install
sysetc-install: dir-install
-mkdir -p $(SYSETCDIR)/dhcpc
$(INSTALL) -m 755 $(SRCDIR)/dhcpcd.exe $(SYSETCDIR)/dhcpc/dhcpcd.exe
$(INSTALL) -m 755 $(SRCDIR)/elvin.sh $(RCDIR)/init.d/elvin
$(INSTALL) -m 755 $(SRCDIR)/ntpd.sh $(RCDIR)/init.d/ntpd
$(INSTALL) -m 755 $(SRCDIR)/mountallwrapper.sh \
$(RCDIR)/init.d/mountallwrapper.sh
......
#!/bin/sh
case "$1" in
start)
# Need to compensate for some weird race that's happening.
sleep 5
/usr/local/sbin/elvind && echo " elvind started."
;;
stop)
killall elvind
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
;;
esac
exit 0
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2006 University of Utah and the Flux Group.
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -112,10 +112,6 @@ sysetc-install: dir-install ifcfgs
mv -f $(SYSETCDIR)/cron.daily/makewhatis.cron \
$(SYSETCDIR)/cron.pend; \
fi
$(INSTALL) -m 755 $(SRCDIR)/elvin.sh $(RCDIR)/init.d/elvin
-ln -sf $(RRCDIR)/init.d/elvin $(DEFRUNLVLDIR)/S96elvin
-ln -sf $(RRCDIR)/init.d/elvin $(RCDIR)/rc1.d/K12elvin
-ln -sf $(RRCDIR)/init.d/elvin $(RCDIR)/rc6.d/K12elvin
$(INSTALL) -m 755 $(SRCDIR)/rc.local $(RCDIR)/rc.local
-ln -sf $(RRCDIR)/rc.local $(SYSETCDIR)/rc.local
......
#!/bin/sh
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
if [ ! -f /etc/sysconfig/network ]; then
exit 0
fi
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
case "$1" in
start)
if [ -x /usr/local/sbin/elvind ]; then
/usr/local/sbin/elvind && echo -n ' elvind'
fi
touch /var/lock/subsys/elvin
;;
stop)
killproc elvind
rm -f /var/lock/subsys/elvin
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
;;
esac
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment