File: initscript.patch

package info (click to toggle)
lio-utils 3.1%2Bgit2.fd0b34fd-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 992 kB
  • sloc: ansic: 7,031; python: 3,039; perl: 885; sh: 414; makefile: 118
file content (30 lines) | stat: -rw-r--r-- 870 bytes parent folder | download
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
initscript fix for compliance with debian policy
Index: lio-utils/scripts/rc.target
===================================================================
--- lio-utils.orig/scripts/rc.target	2011-11-19 13:13:27.037253451 +0530
+++ lio-utils/scripts/rc.target	2011-12-01 20:56:20.359242413 +0530
@@ -18,11 +18,12 @@
 
 ### BEGIN INIT INFO
 # Provides: target
-# Required-Start: $network $syslog
-# Required-Stop:  $network $syslog
-# Default-Start:  2 3 5
+# Required-Start: $network $syslog $remote_fs
+# Required-Stop:  $network $syslog $remote_fs
+# Default-Start:  2 3 4 5
 # Default-Stop:   0 1 6
 # Description:    TCM/ConfigFS and LIO-Target
+# Short-Description:	Start service at boot time
 ### END INIT INFO
 
 # Source function library.
@@ -474,7 +475,7 @@
 		tcm_status
 		RETVAL=$?
 		;;
-	restart|reload)
+	restart|reload|force-reload)
 		restart 1
 		;;
 	*)