This commit is contained in:
Miguel Fuertes committed 2025-10-17 18:06:39 +02:00
1 parent 38b0cbbb70
commit f37b5063d6
1 file changed
+2 -1
+2 -1
View File
@@ -32,7 +32,7 @@ wifi reload
/etc/init.d/network restart
cat > /etc/rc.button/power << 'EOF'
!/bin/sh
#!/bin/sh
[ "${ACTION}" = "released" ] || exit 0
@@ -44,6 +44,7 @@ delay=1
shutdown() {
logger -t poweroff "Powering off..."
echo 4 > /sys/class/graphics/fb0/blank
/sbin/poweroff
}