diff options
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 } |