diff --git a/image-extras/TLMR3020/etc/config/placeholder b/image-extras/TLMR3020/etc/config/placeholder deleted file mode 100644 index fd98c94..0000000 --- a/image-extras/TLMR3020/etc/config/placeholder +++ /dev/null @@ -1 +0,0 @@ -# this is just a file to show how platform specific image extras can be specified diff --git a/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99_custom_aramil b/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99_custom_aramil new file mode 100644 index 0000000..fb216d5 --- /dev/null +++ b/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99_custom_aramil @@ -0,0 +1,26 @@ +uci -q batch << EOI +set network.lan.ipaddr='192.168.47.6' +commit network +set system.@system[0].zonename='Asia/Yekaterinburg' +set system.@system[0].hostname='gw-aramil' +commit system +set dropbear.@dropbear[0].PasswordAuth="1" +commit dropbear +set system.@system[0].timezone='<+05>-5' +set system.ntp.enable_server='1' +set system.ntp.interface='lan' +commit timeserver +set uhttpd.main.listen_http='0.0.0.0:8080' '[::]:8080' +set uhttpd.main.listen_https='0.0.0.0:4431' '[::]:4431' +commit uhttpd +set dhcp.lan.ignore='1' +set dhcp.@host[0]=host +set dhcp.@host[0].name='kyocera1' +set dhcp.@host[0].ip='192.168.47.30' +set dhcp.@host[0].mac='00:17:C8:76:43:91' +set dhcp.@host[1]=host +set dhcp.@host[1].name='kyocera0' +set dhcp.@host[1].mac='00:17:C8:42:1C:AA' +set dhcp.@host[1].ip='192.168.47.31' +commit dhcp +EOI diff --git a/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99_root_default_password b/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99_root_default_password new file mode 100644 index 0000000..8f96bdf --- /dev/null +++ b/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99_root_default_password @@ -0,0 +1,15 @@ +#!/bin/sh + +[ "$(uci -q get system.@system[0].init)" = "" ] && exit 0 +[ -e /etc/init ] && exit 0 +touch /etc/init +uci batch <