Skip to content
Snippets Groups Projects
Commit 9b5b8d11 authored by minute's avatar minute
Browse files

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

parent caaf719d
No related branches found
No related tags found
No related merge requests found
Showing
with 13 additions and 7 deletions
#!/bin/sh
sync
echo 'xPWR0' > /dev/hidraw0
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment