Fix bashisms in samba event script.
drwxr-xr-x - ctdb