]> git.meshlink.io Git - meshlink/commitdiff
Install a file in /etc/modutils/tinc, containing all necessary aliases
authorIvo Timmermans <ivo@lychnis.net>
Tue, 5 Dec 2000 09:03:19 +0000 (09:03 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Tue, 5 Dec 2000 09:03:19 +0000 (09:03 +0000)
and options for kernel modules.

debian/conffiles
debian/rules
debian/tinc.modules [new file with mode: 0644]

index e2cc0633580ab89a91f55784456aa3e9cb2cb19a..e0faa7858fe460cdb3d2daa39dc9d4c139d52c24 100644 (file)
@@ -1,4 +1,5 @@
 /etc/tinc/example/tinc.conf
 /etc/tinc/example/tinc-down
 /etc/tinc/example/tinc-up
+/etc/modutils/tinc
 /etc/init.d/tinc
index a5b7b7977b230be1fbcdc7b7c297a1c7f16e0fd6..6a543ec7d54c90f84c9df0d2669cba866bf17fe5 100644 (file)
@@ -62,6 +62,7 @@ binary-arch: build install
        dh_installexamples
        dh_installinit
        dh_installmanpages
+       dh_installmodules
        dh_installinfo
        dh_installchangelogs ChangeLog
        dh_link
diff --git a/debian/tinc.modules b/debian/tinc.modules
new file mode 100644 (file)
index 0000000..198e92a
--- /dev/null
@@ -0,0 +1,11 @@
+alias char-major-36 netlink_dev
+
+alias tap0 ethertap
+alias tap1 ethertap
+alias tap2 ethertap
+alias tap3 ethertap
+
+options tap0 -o tap0 -x unit=0
+options tap1 -o tap1 -x unit=1
+options tap2 -o tap2 -x unit=2
+options tap3 -o tap3 -x unit=3