summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/pm-utils/service.patch
blob: 422b3f534f5512e64dbbd64fe78569007e1ccc5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- pm/functions.in~	2008-04-10 17:39:48.000000000 +0000
+++ pm/functions.in	2008-04-10 17:39:58.000000000 +0000
@@ -138,10 +138,10 @@
 if ! command_exists service; then
 	service()
 	{
-		if [ -x "/etc/init.d/$1" ]; then
+		if [ -x "/etc/rc.d/$1" ]; then
 			svc="$1"
 			shift
-			"/etc/init.d/$svc" "$@"
+			"/etc/rc.d/$svc" "$@"
 		else
 			log "$1" $": unrecognized service" 1>&2
 			return 1