Skip to content

Commit

Permalink
Create config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
uparrows authored Jan 7, 2023
1 parent 2fad26c commit 1a2e5d9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh


sed -i 's/192.168.1.1/192.168.0.1/g' package/base-files/files/bin/config_generate

#修改主机名

sed -i 's/OpenWrt/你的名字/g' package/base-files/files/bin/config_generate


#修改型号显示
#sed -i 's/xxxx/你的名字/g' target/linux/ramips/dts/xxxx.dts



#切换内核
sed -i '/KERNEL_PATCHVER/cKERNEL_PATCHVER:=5.x' target/linux/xx构架/Makefile



#设置WIFI
#sed -i 's/OpenWrt/你的名字/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh

0 comments on commit 1a2e5d9

Please sign in to comment.