packaging(RHEL-CTDB): use "/sbin/service smb" instead of "%{initdir}/smb"
authorMichael Adam <obnox@samba.org>
Fri, 23 May 2008 10:52:21 +0000 (12:52 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 23 May 2008 12:00:22 +0000 (14:00 +0200)
Michael

packaging/RHEL-CTDB/samba.spec

index afe90ec5beb2c99f913c8d63dd2fe2d20e5638f1..189821da49c6f8a1e37685cf78ecfa270bb02aed 100644 (file)
@@ -338,7 +338,7 @@ if [ "$1" -eq "2" ]; then
 fi
 
 if [ "$1" -ge "1" ]; then
-       %{initdir}/smb condrestart >/dev/null 2>&1 || :
+       /sbin/service smb condrestart >/dev/null 2>&1 || :
 fi
 
 %preun