From 27b5ae6c9bc7f0ec7e5f28e07e9edadb0d6152ee Mon Sep 17 00:00:00 2001 From: Shawn Landen Date: Tue, 13 Mar 2012 19:45:45 -0700 Subject: [PATCH] miniupnpd: add LSB header to init.d script LSB headers allows debian to use dependancy-based boot, and makes systemd's sysvinit compatibility mode faster. --- miniupnpd/linux/miniupnpd.init.d.script | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/miniupnpd/linux/miniupnpd.init.d.script b/miniupnpd/linux/miniupnpd.init.d.script index 05b54f6..f4ea7e3 100644 --- a/miniupnpd/linux/miniupnpd.init.d.script +++ b/miniupnpd/linux/miniupnpd.init.d.script @@ -4,6 +4,15 @@ # author: Thomas Bernard # website: http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ +### BEGIN INIT INFO +# Provides: miniupnpd +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: MiniUPnPd port-forwarding daemon +### END INIT INFO + set -e MINIUPNPD=/usr/sbin/miniupnpd