diff options
Diffstat (limited to 'build-openwrt-dev.sh')
-rwxr-xr-x | build-openwrt-dev.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/build-openwrt-dev.sh b/build-openwrt-dev.sh index e7c5390..672a068 100755 --- a/build-openwrt-dev.sh +++ b/build-openwrt-dev.sh @@ -100,7 +100,7 @@ fi cd "$BUILD_DIR/" || exit 5 [ -d extra_files/ ] && rm -r extra_files/ -mkdir -p extra_files/etc/config extra_files/etc/dropbear +mkdir -p extra_files/etc/{config,dropbear,sysctl.d} ############################### # Prepare Openwrt config file # @@ -126,7 +126,10 @@ nobody:*:0:0:99999:7::: dnsmasq:x:0:0:99999:7::: EOF -cat > extra_files/etc/rc.local <<EOF +# TODO dhcp.cfg02411c.quietdhcp=1 +# TODO : rc.local is not +x, make rc.initconf work without +x +# TODO : fix tranlation JS bugs (network page) + Vue &a39;ensemble + # Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. @@ -224,6 +227,10 @@ cat > extra_files/etc/firewall.user <<EOF ip6tables -A input_wan_rule -s fe80::/10 -d fe80::/10 -p tcp -m tcp --dport 22 -m comment --comment "CHD-allow-ssh-maj-routeur" -j ACCEPT EOF +cat > extra_files/etc/sysctl.d/dad.conf <<EOF +net.ipv6.conf.eth1.accept_dad=0 +EOF + ####################### # Build Openwrt image # ####################### |