Commit 16a158e1 authored by mntmn's avatar mntmn

Merge branch 'mmdebstrap' into 'main'

reform-tools: reform-poweroff: don't turn off power when rebooting

See merge request reform/reform-system-image!14
parents caaf719d 9b5b8d11
Package: reform-tools
Version: 1.0-5
Version: 1.0-6
Section: base
Priority: required
Architecture: arm64
......
#!/bin/bash
#
# MNT Reform: Send poweroff command to the system controller via the keyboard
#
sync
if [[ "$1" == "halt" ]] || [[ "$1" == "poweroff" ]]
then
echo 'xPWR0' > /dev/hidraw0
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment