kiddin9 4 ani în urmă
părinte
comite
27c9719930

+ 0 - 3
devices/common/.config

@@ -208,9 +208,6 @@ CONFIG_PACKAGE_kmod-fuse=y
 CONFIG_PACKAGE_kmod-usb-net-rndis=y
 CONFIG_PACKAGE_kmod-usb-net-ipheth=y
 
-#easymesh
-CONFIG_PACKAGE_kmod-batman-adv=y
-
 CONFIG_GRUB_BOOTOPTS="nomodeset"
 
 CONFIG_IMAGEOPT=y

+ 3 - 0
devices/common/diy.sh

@@ -2,6 +2,9 @@
 #=================================================
 shopt -s extglob
 sed -i '/	refresh_config();/d' scripts/feeds
+[ ! -f feeds.conf ] && {
+sed -i '$a src-git custom https://github.com/kiddin9/openwrt-packages.git;master' feeds.conf.default
+}
 ./scripts/feeds update -a
 ./scripts/feeds install -a -p custom
 ./scripts/feeds install -a

+ 0 - 5
devices/common/feeds.conf

@@ -1,5 +0,0 @@
-src-git packages https://git.openwrt.org/feed/packages.git;openwrt-21.02
-src-git luci https://git.openwrt.org/project/luci.git;openwrt-21.02
-src-git routing https://git.openwrt.org/feed/routing.git;openwrt-21.02
-#src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-21.02
-src-git custom https://github.com/kiddin9/openwrt-packages.git;master

+ 7 - 0
devices/nanopi-r2c/.config

@@ -12,3 +12,10 @@ CONFIG_PACKAGE_luci-app-zerotier=n
 
 # 其他需要安装的软件包:
 CONFIG_PACKAGE_my-autocore-arm=y
+
+# LED modules
+CONFIG_PACKAGE_kmod-leds-gpio=y
+CONFIG_PACKAGE_kmod-ledtrig-activity=y
+CONFIG_PACKAGE_kmod-ledtrig-gpio=y
+CONFIG_PACKAGE_kmod-ledtrig-oneshot=y
+CONFIG_PACKAGE_kmod-ledtrig-transient=y

+ 7 - 0
devices/nanopi-r2s/.config

@@ -12,3 +12,10 @@ CONFIG_PACKAGE_luci-app-zerotier=n
 
 # 其他需要安装的软件包:
 CONFIG_PACKAGE_my-autocore-arm=y
+
+# LED modules
+CONFIG_PACKAGE_kmod-leds-gpio=y
+CONFIG_PACKAGE_kmod-ledtrig-activity=y
+CONFIG_PACKAGE_kmod-ledtrig-gpio=y
+CONFIG_PACKAGE_kmod-ledtrig-oneshot=y
+CONFIG_PACKAGE_kmod-ledtrig-transient=y

+ 7 - 0
devices/nanopi-r4s/.config

@@ -11,3 +11,10 @@ CONFIG_PACKAGE_luci-app-cpufreq=y
 CONFIG_PACKAGE_luci-app-zerotier=n
 
 CONFIG_PACKAGE_my-autocore-arm=y
+
+# LED modules
+CONFIG_PACKAGE_kmod-leds-gpio=y
+CONFIG_PACKAGE_kmod-ledtrig-activity=y
+CONFIG_PACKAGE_kmod-ledtrig-gpio=y
+CONFIG_PACKAGE_kmod-ledtrig-oneshot=y
+CONFIG_PACKAGE_kmod-ledtrig-transient=y