Skip to content

Commit

Permalink
Changed miwifi hostnames to localhost.
Browse files Browse the repository at this point in the history
Any remaining binaries or libraries that lookup this information from
UCI and try to connect will thus be redirected to localhost instead.
  • Loading branch information
geekman committed Jul 23, 2020
1 parent a5f5975 commit e5cbf2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions repack-squashfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ for f in $FSDIR/etc/crontabs/*; do
sed -i 's/^/#/' $f
done

# as a last-ditch effort, change the *.miwifi.com hostnames to localhost
sed -i 's@\w\+.miwifi.com@localhost@g' $FSDIR/etc/config/miwifi

>&2 echo "repacking squashfs..."
rm -f "$IMG.new"
mksquashfs "$FSDIR" "$IMG.new" -comp xz -b 256K -no-xattrs
Expand Down

0 comments on commit e5cbf2b

Please sign in to comment.