forked from HAN767/OpenWrt-Newifi_D2
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdiy-part1.sh
executable file
·29 lines (25 loc) · 889 Bytes
/
diy-part1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#=============================================================
# https://github.com/P3TERX/Actions-OpenWrt
# File name: diy-part1.sh
# Description: OpenWrt DIY script part 1 (Before Update feeds)
# Lisence: MIT
# Author: P3TERX
# Blog: https://p3terx.com
#=============================================================
set -x
CONFIG_FILE="$1"
if echo "$CONFIG_FILE"|grep -i GL-SFT1200
then
:
else
# https://github.com/coolsnowwolf/openwrt-gl-ax1800/blob/master/feeds.conf.default
# https://github.com/kenzok8/openwrt-packages
# https://github.com/kenzok8/small
echo '
src-git kenzo https://github.com/kenzok8/openwrt-packages
src-git small https://github.com/kenzok8/small' >>feeds.conf.default
ls -lh package/utils/ucode
svn co https://github.com/coolsnowwolf/lede/trunk/package/utils/ucode package/utils/ucode
ls -lh package/utils/ucode
fi