dnsmasq: add dhcphostsfile to ujail sandbox
[openwrt/staging/dedeckeh.git] / package / network / services / dnsmasq / files / dnsmasq.init
index 21e330ec28c1a00d5b5a2c9cfd81bbfa812f321f..608ef013f102c61c3c5e3a0f0715e19c235c3643 100755 (executable)
@@ -1212,6 +1212,7 @@ dnsmasq_start()
                [ ! -e "$logfacility" ] && touch "$logfacility"
                procd_add_jail_mount_rw "$logfacility"
        esac
+       [ -e "$hostsfile" ] && procd_add_jail_mount $hostsfile
 
        procd_close_instance
 }