diff options
Diffstat (limited to 'debian/patches/005-init.patch')
-rw-r--r-- | debian/patches/005-init.patch | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/debian/patches/005-init.patch b/debian/patches/005-init.patch new file mode 100644 index 0000000..d6131e4 --- /dev/null +++ b/debian/patches/005-init.patch @@ -0,0 +1,80 @@ +Description: include lsb/init-functions +Author: Jörg Frings-Fürst <debian@jff-webhosting.net> +Last-Update: 2014-08-09 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/scripts/ipmi_port.sh +=================================================================== +--- trunk.orig/scripts/ipmi_port.sh 2014-08-09 11:00:23.096102828 +0200 ++++ trunk/scripts/ipmi_port.sh 2014-08-09 11:00:40.716468044 +0200 +@@ -25,6 +25,7 @@ + #. /etc/init.d/functions + #fi + ++ + name=ipmi_port + progdir=/usr/sbin + prog="$progdir/$name" +@@ -46,6 +47,8 @@ + echo $p + } + ++. /lib/lsb/init-functions ++ + start() + { + echo -n $"Starting $name: " +Index: trunk/scripts/ipmiutil_asy +=================================================================== +--- trunk.orig/scripts/ipmiutil_asy 2014-08-09 11:00:23.096102828 +0200 ++++ trunk/scripts/ipmiutil_asy 2014-08-09 11:00:23.088102663 +0200 +@@ -37,6 +37,8 @@ + echo $p + } + ++. /lib/lsb/init-functions ++ + start() + { + echo -n $"Starting $dname: " +Index: trunk/scripts/ipmiutil_wdt +=================================================================== +--- trunk.orig/scripts/ipmiutil_wdt 2014-08-09 11:00:23.096102828 +0200 ++++ trunk/scripts/ipmiutil_wdt 2014-08-09 11:00:23.088102663 +0200 +@@ -33,6 +33,8 @@ + #tmpcron=/tmp/wdtcron.$$ + # tmpcron2=/tmp/wdtcron2.$$ + ++. /lib/lsb/init-functions ++ + start() { + echo -n $"Starting $prog: " + echo +@@ -137,10 +139,13 @@ + restart) + restart + ;; ++ force-reload) ++ restart ++ ;; + reload) + restart + ;; + *) +- echo $"Usage: $0 {start|stop|status|restart|reload}" ++ echo $"Usage: $0 {start|stop|status|restart|reload|restart}" + exit 1 + esac +Index: trunk/scripts/ipmiutil_evt +=================================================================== +--- trunk.orig/scripts/ipmiutil_evt 2014-08-09 11:00:23.096102828 +0200 ++++ trunk/scripts/ipmiutil_evt 2014-08-09 11:00:23.092102746 +0200 +@@ -40,6 +40,8 @@ + echo $p + } + ++. /lib/lsb/init-functions ++ + start() + { + echo -n $"Starting $name: " |