events 50.samba: also support suse and ubuntu/debain systems
authorMichael Adam <obnox@samba.org>
Fri, 16 Jan 2009 12:33:13 +0000 (13:33 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 16 Jan 2009 12:33:13 +0000 (13:33 +0100)
commit5fe84f96f3f79baba1f44ba57ce217f501b3c1f8
tree459e52925f43b8f70c79f44bdb7c8864dea287ca
parent4cac2a16b70be772e4f1520020762f63c0bf3efe
events 50.samba: also support suse and ubuntu/debain systems

for managing samba and winbind

This uses CTDB_INIT_STYLE as exported by ctdb.init.

suse systems usually have separate init scripts for
smb for smbd and nmb for nmbd, and the ubuntu/debian
start script for smbd and nmbd is called samba instead
of smb (on redhat).

Michael
config/events.d/50.samba