summaryrefslogtreecommitdiff
path: root/package/samba/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/samba/files')
-rw-r--r--package/samba/files/samba.init24
-rw-r--r--package/samba/files/smb.conf18
2 files changed, 0 insertions, 42 deletions
diff --git a/package/samba/files/samba.init b/package/samba/files/samba.init
deleted file mode 100644
index c3c600ae3e..0000000000
--- a/package/samba/files/samba.init
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-DEFAULT=/etc/default/samba
-RUN_D=/var/run/samba
-NMBD_PID_F=$RUN_D/nmbd.pid
-SMBD_PID_F=$RUN_D/smbd.pid
-[ -f $DEFAULT ] && . $DEFAULT
-
-case $1 in
- start)
- mkdir -p $RUN_D
- nmbd -D $NMBD_OPTIONS
- smbd -D $SMBD_OPTIONS
- ;;
- stop)
- [ -f $SMBD_PID_F ] && kill $(cat $SMBD_PID_F)
- [ -f $NMBD_PID_F ] && kill $(cat $NMBD_PID_F)
- ;;
- *)
- echo "usage: $0 (start|stop)"
- exit 1
-esac
-
-exit $?
diff --git a/package/samba/files/smb.conf b/package/samba/files/smb.conf
deleted file mode 100644
index c52d6dd1b0..0000000000
--- a/package/samba/files/smb.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-[global]
- syslog = 0
- syslog only = yes
- workgroup = OpenWrt
- server string = OpenWrt Samba Server
- security = share
- encrypt passwords = yes
- guest account = nobody
- local master = yes
- name resolve order = lmhosts hosts bcast
-
-[tmp]
- comment = /tmp
- path = /tmp
- browseable = yes
- public = yes
- writeable = no
-