--- 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