aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mountd/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-09-14 20:12:21 +0000
committerJohn Crispin <john@openwrt.org>2015-09-14 20:12:21 +0000
commitbef03edb7ac4d95f688ad826d7fb3452c303dd15 (patch)
tree0ca502c8a83af4295bde32907f76b7b6163dbfa2 /package/system/mountd/files
parent0dbced8a484faeb8bea0c29a35c1b0f6d58dbf4c (diff)
downloadupstream-bef03edb7ac4d95f688ad826d7fb3452c303dd15.tar.gz
upstream-bef03edb7ac4d95f688ad826d7fb3452c303dd15.tar.bz2
upstream-bef03edb7ac4d95f688ad826d7fb3452c303dd15.zip
mountd: move code to a git repo
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46935
Diffstat (limited to 'package/system/mountd/files')
-rwxr-xr-xpackage/system/mountd/files/mountd.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/system/mountd/files/mountd.init b/package/system/mountd/files/mountd.init
index c294c50f5c..772bd6ed5a 100755
--- a/package/system/mountd/files/mountd.init
+++ b/package/system/mountd/files/mountd.init
@@ -10,6 +10,9 @@ MOUNTD_BIN=/sbin/mountd
start()
{
+ P="$(uci get mountd.mountd.path)"
+ [ -n "$P" -a ! -f "$P" ] && mkdir -p $P
+
service_start $MOUNTD_BIN -f
}