mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 17:11:52 +08:00
一些更新
This commit is contained in:
13
patch/onecloud_gpio.sh
Normal file
13
patch/onecloud_gpio.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user