Commit 31bf08b9 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add boottime init script to clear various DB tables at boot time, or

whatever other maintenance is required.
parent b31fdcdc
...@@ -1119,7 +1119,7 @@ outfiles="$outfiles Makeconf GNUmakefile \ ...@@ -1119,7 +1119,7 @@ outfiles="$outfiles Makeconf GNUmakefile \
discvr/GNUmakefile \ discvr/GNUmakefile \
db/libdb.pm db/inuse db/avail db/nodeip db/showgraph \ db/libdb.pm db/inuse db/avail db/nodeip db/showgraph \
db/dhcpd_makeconf db/nodelog db/webnodelog db/unixgroups \ db/dhcpd_makeconf db/nodelog db/webnodelog db/unixgroups \
db/dbcheck db/interswitch\ db/dbcheck db/interswitch db/dbboot \
ipod/GNUmakefile \ ipod/GNUmakefile \
lib/GNUmakefile \ lib/GNUmakefile \
os/GNUmakefile os/split-image.sh os/imagezip/GNUmakefile \ os/GNUmakefile os/split-image.sh os/imagezip/GNUmakefile \
......
...@@ -204,7 +204,7 @@ outfiles="$outfiles Makeconf GNUmakefile \ ...@@ -204,7 +204,7 @@ outfiles="$outfiles Makeconf GNUmakefile \
discvr/GNUmakefile \ discvr/GNUmakefile \
db/libdb.pm db/inuse db/avail db/nodeip db/showgraph \ db/libdb.pm db/inuse db/avail db/nodeip db/showgraph \
db/dhcpd_makeconf db/nodelog db/webnodelog db/unixgroups \ db/dhcpd_makeconf db/nodelog db/webnodelog db/unixgroups \
db/dbcheck db/interswitch\ db/dbcheck db/interswitch db/dbboot \
ipod/GNUmakefile \ ipod/GNUmakefile \
lib/GNUmakefile \ lib/GNUmakefile \
os/GNUmakefile os/split-image.sh os/imagezip/GNUmakefile \ os/GNUmakefile os/split-image.sh os/imagezip/GNUmakefile \
......
...@@ -11,7 +11,7 @@ include $(OBJDIR)/Makeconf ...@@ -11,7 +11,7 @@ include $(OBJDIR)/Makeconf
BIN_SCRIPTS = nalloc nfree nodeip BIN_SCRIPTS = nalloc nfree nodeip
SBIN_SCRIPTS = avail inuse showgraph if2port backup webcontrol node_status \ SBIN_SCRIPTS = avail inuse showgraph if2port backup webcontrol node_status \
genelists genelists.proxy dhcpd_makeconf nodelog unixgroups \ genelists genelists.proxy dhcpd_makeconf nodelog unixgroups \
dbcheck interswitch dbcheck interswitch dbboot
LIBEXEC_SCRIPTS = webnodelog LIBEXEC_SCRIPTS = webnodelog
LIB_SCRIPTS = libdb.pm LIB_SCRIPTS = libdb.pm
......
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
# #
# Utah Network Testbed local startup # Utah Network Testbed local startup
# #
if [ -x @prefix@/sbin/dbboot ]; then
echo -n " dbboot"
@prefix@/sbin/dbboot
fi
if [ -x @prefix@/sbin/bootinfo.restart ]; then if [ -x @prefix@/sbin/bootinfo.restart ]; then
echo -n " bootinfo" echo -n " bootinfo"
@prefix@/sbin/bootinfo.restart @prefix@/sbin/bootinfo.restart
......
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