summaryrefslogtreecommitdiff
path: root/package/samba/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-14 13:05:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-14 13:05:02 +0200
commitefbd5bdc77b36d5c52d0018163952b19076b21c7 (patch)
treefa4f1f6e53cb75fe3ecea74f269be5905d96ea38 /package/samba/files
parent59fa2dcdee8e277429bca809e7334c7ac53fc1a3 (diff)
fix issues in samba package
Diffstat (limited to 'package/samba/files')
-rw-r--r--package/samba/files/samba.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/samba/files/samba.init b/package/samba/files/samba.init
index b7e370484..21b983530 100644
--- a/package/samba/files/samba.init
+++ b/package/samba/files/samba.init
@@ -11,8 +11,11 @@ autostart)
exec sh $0 start
;;
start)
+ [ -d /var/lib/samba ] || mkdir -p /var/lib/samba
[ -d /var/run/samba ] || mkdir -p /var/run/samba
[ -d /var/log/samba ] || mkdir -p /var/log/samba
+ [ -d /var/cache/samba ] || mkdir -p /var/cache/samba
+ [ -d /var/lock/samba ] || mkdir -p /var/lock/samba
/usr/sbin/nmbd -D
/usr/sbin/smbd -D
;;