mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
14 lines
221 B
Bash
14 lines
221 B
Bash
#!/bin/bash
|
|
case $1 in
|
|
short)
|
|
gpioset -m time -s 1 gpiochip1 7=0
|
|
gpioset gpiochip1 7=1
|
|
;;
|
|
long)
|
|
gpioset -m time -s 5 gpiochip1 7=0
|
|
gpioset gpiochip1 7=1
|
|
;;
|
|
*)
|
|
echo "No thing."
|
|
esac
|