Commit dd2d422e authored by Kristin Wright's avatar Kristin Wright
Browse files

Moved rmacct/mkacct into suscript section. Added mkacct-ctrl to

the same. Added chown/chmod lines in the post-install section.
parent 72f97005
...@@ -6,11 +6,12 @@ include ../GNUmakerules ...@@ -6,11 +6,12 @@ include ../GNUmakerules
SUBDIRS = checkpass SUBDIRS = checkpass
SCRIPTS = mkprojdir_wrapper tbdoit tbstopit mkexpdir \ SCRIPTS = mkprojdir_wrapper tbdoit tbstopit mkexpdir \
mkacct rmacct delay_setup ifc_setup ifc_filegen \ delay_setup ifc_setup ifc_filegen \
ir2ifc power resetvlans savevlans snmpit tbend \ ir2ifc power resetvlans savevlans snmpit tbend \
tbprerun tbreport vpower vsnmpit killtip tbprerun tbreport vpower vsnmpit killtip
DATAFILES = default.ifc DATAFILES = default.ifc
SUSCRIPTS = mkprojdir os_setup SUSCRIPTS = mkprojdir os_setup mkacct-ctrl mkacct rmacct \
mkacct-ctrl
all: $(BINS) $(SUBDIRS) all: $(BINS) $(SUBDIRS)
...@@ -56,6 +57,12 @@ $(INSTALL_LIBTBDIR)/%: %.tcl ...@@ -56,6 +57,12 @@ $(INSTALL_LIBTBDIR)/%: %.tcl
post-install: post-install:
chown root $(INSTALL_BINDIR)/mkprojdir chown root $(INSTALL_BINDIR)/mkprojdir
chmod u+s $(INSTALL_BINDIR)/mkprojdir chmod u+s $(INSTALL_BINDIR)/mkprojdir
chown root $(INSTALL_BINDIR)/mkacct-ctrl
chmod u+s $(INSTALL_BINDIR)/mkacct-ctrl
chown root $(INSTALL_BINDIR)/mkacct
chmod u+s $(INSTALL_BINDIR)/mkacct
chown root $(INSTALL_BINDIR)/rmacct
chmod u+s $(INSTALL_BINDIR)/rmacct
chown root $(INSTALL_BINDIR)/os_setup chown root $(INSTALL_BINDIR)/os_setup
chmod u+s $(INSTALL_BINDIR)/os_setup chmod u+s $(INSTALL_BINDIR)/os_setup
chown root $(INSTALL_LIBTBDIR)/os_setup chown root $(INSTALL_LIBTBDIR)/os_setup
......
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