This commit is contained in:
Miguel Fuertes committed 2025-09-15 22:11:11 +02:00
1 parent 83a61dd13b
commit d5b65bfe84
2 files changed
+11

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ RUN git clone --depth=1 https://github.com/immortalwrt/immortalwrt openwrt
COPY mods/ath.mk openwrt/package/kernel/mac80211/ath.mk
COPY mods/netdevices.mk openwrt/package/kernel/linux/modules/netdevices.mk
COPY mods/power openwrt/package/base-files/files/etc/rc.button/power
RUN openwrt/scripts/feeds update -a && \
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
[ "${ACTION}" = "released" ] || exit 0
if [ "$SEEN" -ge 3 ]
then
exec /sbin/poweroff
fi
return 0