50.samba run the smbcontrol in the background. no need to block waiting for it.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 21 Feb 2011 05:47:45 +0000 (16:47 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 21 Feb 2011 05:47:45 +0000 (16:47 +1100)
config/events.d/50.samba

index 415b89f4a6efff614e851db8e3337ae027b827d3..e8e3366d0e57dea354d87c346da5af84d8b0c095 100755 (executable)
@@ -275,7 +275,7 @@ case "$1" in
        ip=$3
        maskbits=$4
 
-       smbcontrol winbindd ip-dropped $ip >/dev/null 2>/dev/null
+       smbcontrol winbindd ip-dropped $ip >/dev/null 2>/dev/null &
        ;;
     *)
        ctdb_standard_event_handler "$@"