Make sure /etc/umdns/ is accessiable for the umdns process if it
exists and umdns is run with umdns.@umdns[0].jail='1'.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
done
procd_add_raw_trigger "instance.update" 5000 "/bin/ubus" "call" "umdns" "reload"
procd_close_trigger
- [ "$(uci -q get umdns.@umdns[-1].jail)" = 1 ] && procd_add_jail umdns ubus log
+ [ "$(uci get umdns.@umdns[-1].jail)" = 1 ] && {
+ procd_add_jail umdns ubus log
+ [ -d /etc/umdns ] && procd_add_jail_mount "/etc/umdns"
+ }
procd_close_instance
}