From 1e38dcc3fa6c0da2fdb21f83a588338fa8a41818 Mon Sep 17 00:00:00 2001 From: Ivo Timmermans Date: Tue, 5 Dec 2000 09:03:19 +0000 Subject: [PATCH] Install a file in /etc/modutils/tinc, containing all necessary aliases and options for kernel modules. --- debian/conffiles | 1 + debian/rules | 1 + debian/tinc.modules | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 debian/tinc.modules diff --git a/debian/conffiles b/debian/conffiles index e2cc0633..e0faa785 100644 --- a/debian/conffiles +++ b/debian/conffiles @@ -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 diff --git a/debian/rules b/debian/rules index a5b7b797..6a543ec7 100644 --- a/debian/rules +++ b/debian/rules @@ -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 index 00000000..198e92ad --- /dev/null +++ b/debian/tinc.modules @@ -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 -- 2.39.5