diff --git a/prepwifi.sh b/prepwifi.sh index 8bb9742..7146be4 100644 --- a/prepwifi.sh +++ b/prepwifi.sh @@ -27,4 +27,4 @@ while ! fping ${newip}; do sleep 5; done ssh-keygen -R ${newip} sleep 3 -ssh -o stricthostkeychecking=no root@${newip} "opkg remove wpad-mini; opkg update && opkg install ebtables tcpdump bc iftop hostapd-openssl && reboot" +ssh -o stricthostkeychecking=no root@${newip} "opkg remove wpad-mini; opkg remove wpad; opkg update && opkg install ebtables tcpdump bc iftop hostapd-openssl && reboot"