mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-06-16 22:51:23 +02:00
13 lines
207 B
Bash
Executable File
13 lines
207 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "${ACTION}" = "released" ] || exit 0
|
|
|
|
. /lib/functions.sh
|
|
|
|
logger "$BUTTON pressed for $SEEN seconds"
|
|
if [ "$SEEN" -gt 4 ]
|
|
then
|
|
logger "Resetting Wireless"
|
|
d3dapi p=/network/reset r=POST
|
|
fi
|