PageRenderTime 93ms CodeModel.GetById 92ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/init/nmbd.conf

http://github.com/brinkman83/bashrc
Config | 18 lines | 12 code | 6 blank | 0 comment | 0 complexity | f01014b375396077940a11d831c259a3 MD5 | raw file
 1description "NetBIOS name server"
 2author      "Steve Langasek <steve.langasek@ubuntu.com>"
 3
 4start on (local-filesystems and net-device-up IFACE!=lo)
 5stop on runlevel [!2345]
 6
 7expect fork
 8respawn
 9
10pre-start script
11	NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 2>/dev/null`
12
13	[ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; }
14
15	install -o root -g root -m 755 -d /var/run/samba
16end script
17
18exec nmbd -D