meta-digi/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/pswitch-press

10 lines
176 B
Bash

#!/bin/sh
if [ -f /tmp/pswitch_press ]; then
logger -t acpid "Bogus press event, removing."
rm -f /tmp/pswitch_press
fi
echo `date +%s` > /tmp/pswitch_press
exit 0