Skip to content

Commit

Permalink
Update diy-part2-istore.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
quanjindeng authored Dec 1, 2024
1 parent e2894e2 commit dacf68a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions diy-part2-istore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ sed -i 's/TARGET_rockchip/TARGET_rockchip\|\|TARGET_armvirt/g' package/lean/auto
sed -i "s/OpenWrt /Deng Build $(TZ=UTC-8 date "+%Y.%m.%d") @ OpenWrt /g" package/lean/default-settings/files/zzz-default-settings

# Modify default IP(FROM 192.168.1.1 CHANGE TO 10.10.10.1)
sed -i 's/192.168.1.1/10.10.10.1/g' package/base-files/files/bin/config_generate
sed -i 's/192.168.1.1/10.10.10.1/g' package/base-files/luci2/bin/config_generate
sed -i 's/192.168.1./10.10.10./g' package/base-files/files/bin/config_generate
sed -i 's/192.168.1./10.10.10./g' package/base-files/luci2/bin/config_generate
sed -i 's/192.168.1./10.10.10./g' package/base-files/Makefile
sed -i 's/192.168.1./10.10.10./g' package/base-files/image-config.in

# Modify system hostname(FROM OpenWrt CHANGE TO OpenWrt-N1)
# sed -i 's/OpenWrt/OpenWrt-N1/g' package/base-files/files/bin/config_generate
Expand Down

0 comments on commit dacf68a

Please sign in to comment.