Named control files and (unused) manpage correctly v0.1
authorGregor Riepl <onitake@gmail.com>
Tue, 27 Jul 2010 20:33:26 +0000 (22:33 +0200)
committerGregor Riepl <onitake@gmail.com>
Tue, 27 Jul 2010 20:33:26 +0000 (22:33 +0200)
debian/manpage.8.ex [deleted file]
debian/postinst [new file with mode: 0644]
debian/postinst.ex [deleted file]
debian/prerm [new file with mode: 0644]
debian/prerm.ex [deleted file]
mtetherd.8 [new file with mode: 0644]

diff --git a/debian/manpage.8.ex b/debian/manpage.8.ex
deleted file mode 100644 (file)
index cc5cfef..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH MTETHERD 8 "July 23, 2010"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh        disable hyphenation
-.\" .hy        enable hyphenation
-.\" .ad l      left justify
-.\" .ad b      justify to both left and right margins
-.\" .nf        disable filling
-.\" .fi        enable filling
-.\" .br        insert line break
-.\" .sp <n>    insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-mtetherd \- Maemo tethering daemon
-.SH SYNOPSIS
-.B start mtetherd
-.br
-.B stop mtetherd
-.SH DESCRIPTION
-.B mtetherd
-allows you to use your N900 as an Internet router.
-Once a USB network or Bluetooth PAN connection is opened to the device,
-it will automatically configure networking and start a dnsmasq instance
-that serves DHCP requests and forwards DNS queries.
-You can also use it to automatically configure network interfaces
-for development.
-.SH IP ADDRESSES
-.SS USB
-N900: 192.168.253.254
-.br
-Host: 192.168.253.1 - 192.168.253.253
-.SS Bluetooth
-N900: 192.168.254.254
-.br
-Host: 192.168.254.1 - 192.168.254.253
-.SH AUTHOR
-mtetherd was written by Gregor Riepl <onitake@gmail.com>.
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..47c10de
--- /dev/null
@@ -0,0 +1,42 @@
+#!/bin/sh
+# postinst script for mtetherd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+        start mtetherd
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/postinst.ex b/debian/postinst.ex
deleted file mode 100644 (file)
index 47c10de..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-# postinst script for mtetherd
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    configure)
-        start mtetherd
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/prerm b/debian/prerm
new file mode 100644 (file)
index 0000000..7c63929
--- /dev/null
@@ -0,0 +1,41 @@
+#!/bin/sh
+# prerm script for mtetherd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+        stop mtetherd
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/prerm.ex b/debian/prerm.ex
deleted file mode 100644 (file)
index 7c63929..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-# prerm script for mtetherd
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove|upgrade|deconfigure)
-        stop mtetherd
-    ;;
-
-    failed-upgrade)
-    ;;
-
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/mtetherd.8 b/mtetherd.8
new file mode 100644 (file)
index 0000000..cc5cfef
--- /dev/null
@@ -0,0 +1,42 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH MTETHERD 8 "July 23, 2010"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+mtetherd \- Maemo tethering daemon
+.SH SYNOPSIS
+.B start mtetherd
+.br
+.B stop mtetherd
+.SH DESCRIPTION
+.B mtetherd
+allows you to use your N900 as an Internet router.
+Once a USB network or Bluetooth PAN connection is opened to the device,
+it will automatically configure networking and start a dnsmasq instance
+that serves DHCP requests and forwards DNS queries.
+You can also use it to automatically configure network interfaces
+for development.
+.SH IP ADDRESSES
+.SS USB
+N900: 192.168.253.254
+.br
+Host: 192.168.253.1 - 192.168.253.253
+.SS Bluetooth
+N900: 192.168.254.254
+.br
+Host: 192.168.254.1 - 192.168.254.253
+.SH AUTHOR
+mtetherd was written by Gregor Riepl <onitake@gmail.com>.