blob: f578399a3cd230ae5e16f6381302f06e99c25ed4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
setup ()
{
service_name="netbios"
if [ "$1" != "down" ] ; then
debug "Marking Netbios name services as up, listening and managed by CTDB"
# All possible service names for all known distros.
for i in "nmb" "nmbd" ; do
service "$i" force-started
done
else
debug "Marking Netbios name services as down, not listening and not managed by CTDB"
# All possible service names for all known distros.
for i in "nmb" "nmbd" ; do
service "$i" force-stopped
done
fi
}
|