Commit 5b9079b9 authored by Mike Hibler's avatar Mike Hibler

Hack support for a "local" (non-boss) version of the power command.

Uses text files for getting the controller info and outlet map.
Only supported for the APC and Raritan modules. Some of the other
modules might work...but we don't care. Others would not work without
more effort as they use the Emulab DB directly.

Included hack makefile targets "localboss" and "localboss-install"
to install this version and the minimum number of modules.
parent 7618db64
......@@ -34,6 +34,9 @@ SYSTEM := $(shell uname -s)
include $(OBJDIR)/Makeconf
SUBBOSS_SBIN_SCRIPTS = reportboot reportboot_daemon
SUBDIRS = checkpass ns2ir nseparse checkup template_cvsroot \
......@@ -160,6 +163,8 @@ COMPILED_TARGETS =
all: $(TARGETS) $(addprefix compiled/, $(COMPILED_TARGETS))
......@@ -212,6 +217,9 @@ endif
boss-install: all script-install subdir-install
@echo "Don't forget to do a post-install as root"
localboss-install: $(addprefix $(INSTALL_BINDIR)/, $(LOCALBOSS_BIN_STUFF)) \
subboss-install: $(addprefix $(INSTALL_SBINDIR)/, $(SUBBOSS_SBIN_SCRIPTS))
ln -sf $(INSTALL_SBINDIR)/reportboot \
This diff is collapsed.
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