working!
This commit is contained in:
1 parent
83a61dd13b
commit
d5b65bfe84
2 files changed
+11
No files matched your search
@@ -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
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ "${ACTION}" = "released" ] || exit 0
|
||||
|
||||
if [ "$SEEN" -ge 3 ]
|
||||
then
|
||||
exec /sbin/poweroff
|
||||
fi
|
||||
|
||||
return 0
|
||||
Reference in new issue
Block a user