diff options
Diffstat (limited to 'ctdb/config/events.d/50.samba')
-rwxr-xr-x | ctdb/config/events.d/50.samba | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ctdb/config/events.d/50.samba b/ctdb/config/events.d/50.samba index 814fb9aec45..54cf9ceb611 100755 --- a/ctdb/config/events.d/50.samba +++ b/ctdb/config/events.d/50.samba @@ -15,7 +15,7 @@ case $CTDB_INIT_STYLE in CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb} CTDB_SERVICE_WINBIND=${CTDB_SERVICE_WINBIND:-winbind} ;; - debian) + ubuntu) CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-samba} CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-""} CTDB_SERVICE_WINBIND=${CTDB_SERVICE_WINBIND:-winbind} @@ -73,7 +73,7 @@ testparm_background_update() { while [ $timeleft -gt 0 ]; do timeleft=$(($timeleft - 1)) # see if the process still exists - /bin/kill -0 $pid > /dev/null 2>&1 || { + kill -0 $pid > /dev/null 2>&1 || { # it doesn't exist, grab its exit status wait $pid [ $? = 0 ] || { @@ -99,7 +99,7 @@ testparm_background_update() { done # it took more than 10 seconds - kill it off rm -f "${tmpfile}" - /bin/kill -9 "$pid" > /dev/null 2>&1 + kill -9 "$pid" > /dev/null 2>&1 echo "50.samba: timed out updating smbconf cache in background" exit 1 ) & |