From bef03edb7ac4d95f688ad826d7fb3452c303dd15 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 14 Sep 2015 20:12:21 +0000 Subject: mountd: move code to a git repo Signed-off-by: John Crispin SVN-Revision: 46935 --- package/system/mountd/files/mountd.init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/system/mountd/files') 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 } -- cgit v1.2.3