summaryrefslogtreecommitdiffstats
path: root/package/samba/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/samba/files')
-rw-r--r--package/samba/files/samba.init2
-rw-r--r--package/samba/files/smb.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/samba/files/samba.init b/package/samba/files/samba.init
index 43ab372ca..c3c600ae3 100644
--- a/package/samba/files/samba.init
+++ b/package/samba/files/samba.init
@@ -1,7 +1,6 @@
#!/bin/sh
DEFAULT=/etc/default/samba
-LOG_D=/var/log/samba
RUN_D=/var/run/samba
NMBD_PID_F=$RUN_D/nmbd.pid
SMBD_PID_F=$RUN_D/smbd.pid
@@ -9,7 +8,6 @@ SMBD_PID_F=$RUN_D/smbd.pid
case $1 in
start)
- mkdir -p $LOG_D
mkdir -p $RUN_D
nmbd -D $NMBD_OPTIONS
smbd -D $SMBD_OPTIONS
diff --git a/package/samba/files/smb.conf b/package/samba/files/smb.conf
index 4c4cd1dab..5a2f6ccaa 100644
--- a/package/samba/files/smb.conf
+++ b/package/samba/files/smb.conf
@@ -1,4 +1,6 @@
[global]
+ syslog = 0
+ syslog only = yes
workgroup = OpenWrt
security = share
guest account = nobody