Commit 561e83c6 authored by Mike Hibler's avatar Mike Hibler

Make sure we update netif-emulab in admin MFS install.

parent dd5c6601
...@@ -162,6 +162,7 @@ mfs-install: destdircheck ...@@ -162,6 +162,7 @@ mfs-install: destdircheck
rm -f $(DESTDIR)/usr/local/etc/dhclient* rm -f $(DESTDIR)/usr/local/etc/dhclient*
ln -s /etc/dhclient* $(DESTDIR)/usr/local/etc/ ln -s /etc/dhclient* $(DESTDIR)/usr/local/etc/
$(INSTALL) -m 644 $(SRCDIR)/mfs-rc.conf $(SYSETCDIR)/rc.conf $(INSTALL) -m 644 $(SRCDIR)/mfs-rc.conf $(SYSETCDIR)/rc.conf
$(INSTALL) -m 555 ./netif-emulab $(SYSETCDIR)/rc.d/netif-emulab
@if [ -r $(SRCDIR)/master.passwd ]; then \ @if [ -r $(SRCDIR)/master.passwd ]; then \
$(INSTALL) -m 600 $(SRCDIR)/master.passwd $(SYSETCDIR); \ $(INSTALL) -m 600 $(SRCDIR)/master.passwd $(SYSETCDIR); \
pwd_mkdb -d $(SYSETCDIR) $(SYSETCDIR)/master.passwd; \ pwd_mkdb -d $(SYSETCDIR) $(SYSETCDIR)/master.passwd; \
......
...@@ -171,6 +171,7 @@ mfs-install: destdircheck ...@@ -171,6 +171,7 @@ mfs-install: destdircheck
rm -f $(DESTDIR)/usr/local/etc/dhclient* rm -f $(DESTDIR)/usr/local/etc/dhclient*
ln -s /etc/dhclient* $(DESTDIR)/usr/local/etc/ ln -s /etc/dhclient* $(DESTDIR)/usr/local/etc/
$(INSTALL) -m 644 $(SRCDIR)/mfs-rc.conf $(SYSETCDIR)/rc.conf $(INSTALL) -m 644 $(SRCDIR)/mfs-rc.conf $(SYSETCDIR)/rc.conf
$(INSTALL) -m 555 ./netif-emulab $(SYSETCDIR)/rc.d/netif-emulab
@if [ -r $(SRCDIR)/master.passwd ]; then \ @if [ -r $(SRCDIR)/master.passwd ]; then \
$(INSTALL) -m 600 $(SRCDIR)/master.passwd $(SYSETCDIR); \ $(INSTALL) -m 600 $(SRCDIR)/master.passwd $(SYSETCDIR); \
pwd_mkdb -d $(SYSETCDIR) $(SYSETCDIR)/master.passwd; \ pwd_mkdb -d $(SYSETCDIR) $(SYSETCDIR)/master.passwd; \
......
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