diff options
Diffstat (limited to 'applications')
-rwxr-xr-x | applications/luci-app-dockerman/root/etc/init.d/dockerman | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/applications/luci-app-dockerman/root/etc/init.d/dockerman b/applications/luci-app-dockerman/root/etc/init.d/dockerman index 22629c193..601dcf9c7 100755 --- a/applications/luci-app-dockerman/root/etc/init.d/dockerman +++ b/applications/luci-app-dockerman/root/etc/init.d/dockerman @@ -3,9 +3,6 @@ START=99 DOCKERD_CONF="/etc/docker/daemon.json" -config_load dockerman -config_get daemon_ea "local" daemon_ea - init_dockerman_chain(){ iptables -N DOCKER-MAN >/dev/null 2>&1 iptables -F DOCKER-MAN >/dev/null 2>&1 @@ -31,6 +28,10 @@ handle_allowed_interface(){ start(){ [ ! -x "/etc/init.d/dockerd" ] && return 0 + + config_load dockerman + config_get daemon_ea "local" daemon_ea + init_dockerman_chain if [ -n "$daemon_ea" ]; then handle_allowed_interface |