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 e2cc063..e0faa78 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 a5b7b79..6a543ec 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