Skip to content

Commit

Permalink
Removed more phone-home stuff.
Browse files Browse the repository at this point in the history
The web UI tracker code has been neutralized. Buttons you click and
forms you submit in the web UI shouldn't generate any more HTTP requests
back to their server.

WAN check has also been disabled, as it uses their servers to verify
that you have Internet connectivity.
  • Loading branch information
geekman committed Apr 13, 2021
1 parent e09b4ed commit 24ef304
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions repack-squashfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,16 @@ NVRAM
# modify root password
sed -i "s@root:[^:]*@root:${ROOTPW}@" "$FSDIR/etc/shadow"

# stop phone-home in web UI
cat <<JS >> "$FSDIR/www/js/miwifi-monitor.js"
(function(){ if (typeof window.MIWIFI_MONITOR !== "undefined") window.MIWIFI_MONITOR.log = function(a,b) {}; })();
JS

# dont start crap services
for SVC in stat_points statisticsservice \
datacenter \
smartcontroller \
wan_check \
plugincenter plugin_start_script.sh cp_preinstall_plugins.sh; do
rm -f $FSDIR/etc/rc.d/[SK]*$SVC
done
Expand Down

0 comments on commit 24ef304

Please sign in to comment.