diff --git a/repack-squashfs.sh b/repack-squashfs.sh index 0e1404b0..a9007723 100755 --- a/repack-squashfs.sh +++ b/repack-squashfs.sh @@ -64,10 +64,16 @@ NVRAM # modify root password sed -i "s@root:[^:]*@root:${ROOTPW}@" "$FSDIR/etc/shadow" +# stop phone-home in web UI +cat <> "$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