[packages] samba3: add missing samba-nmbd.init, remove interface setting from config template
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29347 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
73b9abfa80
commit
a76438bc5f
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=samba3
|
PKG_NAME:=samba3
|
||||||
PKG_VERSION:=3.0.37
|
PKG_VERSION:=3.0.37
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_MD5SUM:=11ed2bfef4090bd5736b194b43f67289
|
PKG_MD5SUM:=11ed2bfef4090bd5736b194b43f67289
|
||||||
|
|
||||||
|
12
net/samba3/files/samba-nmbd.init
Executable file
12
net/samba3/files/samba-nmbd.init
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh /etc/rc.common
|
||||||
|
# Copyright (C) 2011 OpenWrt.org
|
||||||
|
|
||||||
|
START=61
|
||||||
|
|
||||||
|
start() {
|
||||||
|
service_start /usr/sbin/nmbd -D
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
service_stop /usr/sbin/nmbd
|
||||||
|
}
|
@ -14,4 +14,3 @@
|
|||||||
guest account = nobody
|
guest account = nobody
|
||||||
invalid users = root
|
invalid users = root
|
||||||
smb passwd file = /etc/samba/smbpasswd
|
smb passwd file = /etc/samba/smbpasswd
|
||||||
interfaces = br-lan
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user