dop soft
This commit is contained in:
@@ -33,7 +33,18 @@ installPackages()
|
|||||||
# CUSTOMIZE
|
# CUSTOMIZE
|
||||||
# install some more packages that don't need any extra steps
|
# install some more packages that don't need any extra steps
|
||||||
#opkg install lua luci ppp-mod-pppoe screen mc unzip logrotate
|
#opkg install lua luci ppp-mod-pppoe screen mc unzip logrotate
|
||||||
opkg install logrotate curl
|
opkg install logrotate curl sing-box dnscrypt-proxy2
|
||||||
|
|
||||||
|
dnsmasqfull() {
|
||||||
|
if opkg list-installed | grep -q dnsmasq-full; then
|
||||||
|
printf "\033[32;1mdnsmasq-full already installed\033[0m\n"
|
||||||
|
else
|
||||||
|
printf "\033[32;1mInstalled dnsmasq-full\033[0m\n"
|
||||||
|
cd /tmp/ && opkg download dnsmasq-full
|
||||||
|
opkg remove dnsmasq && opkg install dnsmasq-full --cache /tmp/
|
||||||
|
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# this is needed for the vlans on tp-link 3020 with only a single hw ethernet port
|
# this is needed for the vlans on tp-link 3020 with only a single hw ethernet port
|
||||||
#opkg install kmod-macvlan ip
|
#opkg install kmod-macvlan ip
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# Beware! This script will be in /rom/etc/uci-defaults/ as part of the image.
|
# Beware! This script will be in /rom/etc/uci-defaults/ as part of the image.
|
||||||
# Uncomment lines to apply:
|
# Uncomment lines to apply:
|
||||||
wlan_name="office"
|
wlan_name="office-dev"
|
||||||
wlan_password="fuckingwep"
|
wlan_password="fuckingwep"
|
||||||
root_password="AsD7fg"
|
root_password="AsD7fg"
|
||||||
lan_ip_address="192.168.77.4"
|
lan_ip_address="192.168.47.6"
|
||||||
hostname="gw-elmash"
|
hostname="gw-aramil-dev"
|
||||||
# dhcp server 1 disable, 0 enable
|
# dhcp server 1 disable, 0 enable
|
||||||
dhcpsrv="1"
|
dhcpsrv="1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user