diff options
author | John Crispin <blogic@openwrt.org> | 2015-10-02 10:48:48 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-10-02 10:48:48 +0000 |
commit | b52b1fc3a3846e07dd7034c0b61ed2bf14942228 (patch) | |
tree | 66d8d88d3ebd4c76fb48d50724e684a521b95b03 /package/system/mountd/files | |
parent | 9858c87014eb8a73e93577cbe715a18d355ca01e (diff) | |
download | upstream-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-x | package/system/mountd/files/mountd.init | 3 |
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 } |