mstpd: Fix patch
This commit is contained in:
parent
7c6cbdc145
commit
bf227494ee
|
@ -1,5 +1,5 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index dde9f81..9ebe035 100644
|
||||
index dde9f81..5af7cab 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -34,7 +34,6 @@ install: all
|
||||
|
@ -10,14 +10,18 @@ index dde9f81..9ebe035 100644
|
|||
-mkdir -pv $(DESTDIR)/lib/mstpctl-utils/
|
||||
cp -rv lib/* $(DESTDIR)/lib/mstpctl-utils/
|
||||
gzip -f $(DESTDIR)/lib/mstpctl-utils/mstpctl.8
|
||||
@@ -42,6 +41,7 @@ install: all
|
||||
@@ -42,8 +41,9 @@ install: all
|
||||
if [ -d $(DESTDIR)/etc/network/if-pre-up.d ] ; then ln -sf /lib/mstpctl-utils/ifupdown.sh $(DESTDIR)/etc/network/if-pre-up.d/mstpctl ; fi
|
||||
if [ -d $(DESTDIR)/etc/network/if-pre-up.d ] ; then ln -sf /lib/mstpctl-utils/ifupdown.sh $(DESTDIR)/etc/network/if-post-down.d/mstpctl ; fi
|
||||
if [ -d $(DESTDIR)/etc/bash_completion.d ] ; then ln -sf /lib/mstpctl-utils/bash_completion $(DESTDIR)/etc/bash_completion.d/mstpctl ; fi
|
||||
+ mkdir -p $(DESTDIR)/usr/share/man/man8 $(DESTDIR)/usr/share/man/man5
|
||||
ln -sf /lib/mstpctl-utils/mstpctl.8.gz $(DESTDIR)/usr/share/man/man8/mstpctl.8.gz
|
||||
ln -sf /lib/mstpctl-utils/mstpctl-utils-interfaces.5.gz $(DESTDIR)/usr/share/man/man5/mstpctl-utils-interfaces.5.gz
|
||||
- ln -sf /lib/mstpctl-utils/mstpctl.8.gz $(DESTDIR)/usr/share/man/man8/mstpctl.8.gz
|
||||
- ln -sf /lib/mstpctl-utils/mstpctl-utils-interfaces.5.gz $(DESTDIR)/usr/share/man/man5/mstpctl-utils-interfaces.5.gz
|
||||
+ mkdir -p $(DESTDIR)/share/man/man8 $(DESTDIR)/share/man/man5
|
||||
+ ln -sf /lib/mstpctl-utils/mstpctl.8.gz $(DESTDIR)/share/man/man8/mstpctl.8.gz
|
||||
+ ln -sf /lib/mstpctl-utils/mstpctl-utils-interfaces.5.gz $(DESTDIR)/share/man/man5/mstpctl-utils-interfaces.5.gz
|
||||
|
||||
romfs: all
|
||||
$(ROMFSINST) /sbin/mstpd
|
||||
diff --git a/bridge_track.c b/bridge_track.c
|
||||
index c92fdf6..0c01aec 100644
|
||||
--- a/bridge_track.c
|
||||
|
|
Loading…
Reference in a new issue