diff --git a/diy-part2.sh b/diy-part2.sh index 6657436..4cc3c59 100755 --- a/diy-part2.sh +++ b/diy-part2.sh @@ -1,15 +1,15 @@ -#!/bin/bash -# -# Copyright (c) 2019-2020 P3TERX -# -# This is free software, licensed under the MIT License. -# See /LICENSE for more information. -# -# https://github.com/P3TERX/Actions-OpenWrt -# File name: diy-part2.sh -# Description: OpenWrt DIY script part 2 (After Update feeds) -# - -# Modify default IP -#sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate -sed -i '104a set wireless.radio${devidx}.rts=2347\set wireless.radio${devidx}.frag=1500' package/kernel/mac80211/files/lib/wifi/mac80211.sh \ No newline at end of file +#!/bin/bash +# +# Copyright (c) 2019-2020 P3TERX +# +# This is free software, licensed under the MIT License. +# See /LICENSE for more information. +# +# https://github.com/P3TERX/Actions-OpenWrt +# File name: diy-part2.sh +# Description: OpenWrt DIY script part 2 (After Update feeds) +# + +# Modify default IP +#sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate +sed -i '179a set wireless.radio${devidx}.rts=2347\set wireless.radio${devidx}.frag=1500' package/kernel/mac80211/files/lib/wifi/mac80211.sh \ No newline at end of file