aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mountd/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-02 10:48:48 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-02 10:48:48 +0000
commitb52b1fc3a3846e07dd7034c0b61ed2bf14942228 (patch)
tree66d8d88d3ebd4c76fb48d50724e684a521b95b03 /package/system/mountd/files
parent9858c87014eb8a73e93577cbe715a18d355ca01e (diff)
downloadupstream-b52b1fc3a3846e07dd7034c0b61ed2bf14942228.tar.gz
upstream-b52b1fc3a3846e07dd7034c0b61ed2bf14942228.tar.bz2
upstream-b52b1fc3a3846e07dd7034c0b61ed2bf14942228.zip
mountd: move code to a git repo
Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46935 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47082 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
}