Commit 0fa4ff23 authored by Mike Hibler's avatar Mike Hibler

Install elvind startup script

parent 2426fe13
......@@ -103,6 +103,7 @@ sysetc-install: dir-install
$(INSTALL) -m 755 $(SRCDIR)/start_if.em0 $(SYSETCDIR)/start_if.em0
$(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
$(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
Markdown is supported
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