carlos@kropotkin:~$ cat /etc/init/nmbd.conf /etc/init/nmbd.override description "NetBIOS name server" author "Steve Langasek <email address hidden>"
start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [!2345]
expect fork respawn
pre-start script [ -f /etc/samba/smb.conf ] || { stop; exit 0; }
install -o root -g root -m 755 -d /var/run/samba NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 2>/dev/null`
[ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; }
exit 0 end script
exec nmbd -D cat: /etc/init/nmbd.override: No such file or directory
The file samba.postinst is attached to this message (was perhaps too long).
carlos@kropotkin:~$ cat /etc/init/nmbd.conf /etc/init/ nmbd.override
description "NetBIOS name server"
author "Steve Langasek <email address hidden>"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
expect fork
respawn
pre-start script
[ -f /etc/samba/smb.conf ] || { stop; exit 0; }
install -o root -g root -m 755 -d /var/run/samba `testparm -s --parameter- name='disable netbios' 2>/dev/null`
NMBD_DISABLED=
[ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; }
exit 0
end script
exec nmbd -D nmbd.override: No such file or directory
cat: /etc/init/
The file samba.postinst is attached to this message (was perhaps too long).