Benjamin Collet 5 anni fa
parent
commit
9abf1b9604
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      Makefile

+ 8 - 0
Makefile

@@ -0,0 +1,8 @@
+FOLDERS = if-down.d if-pre-up.d if-up.d
+DEST=/etc/network
+
+all: $(foreach f, $(FOLDERS), link-file-$(f))
+
+
+link-file-%: %
+	@ln -snf $(CURDIR)/$</netns $(DEST)/$</netns