summaryrefslogtreecommitdiff
path: root/debian/patches/005-init.patch
blob: d6131e4267e4d845e4c622f7bb5babf0ff63ad6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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: "