mountd: move code to a git repo
[openwrt.git] / package / system / mountd / files / mountd.init
index c294c50..772bd6e 100755 (executable)
@@ -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
 }