mirror of
https://github.com/eddyem/small_tel.git
synced 2026-03-21 09:10:58 +03:00
Initial commit
This commit is contained in:
11
Daemons/netsocket/MOUNTpoweronoff
Executable file
11
Daemons/netsocket/MOUNTpoweronoff
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
COMDEV=/dev/ttyUSB0
|
||||
stty -F $COMDEV -hupcl -opost -onlcr -isig -iexten -echo -echoe -echok -echoctl -echoke -icanon min 0 time 5
|
||||
|
||||
echo "Turn ON/OFF mount"
|
||||
echo ":o#" > $COMDEV
|
||||
cat $COMDEV
|
||||
sleep 1.4
|
||||
echo ":O#" > $COMDEV
|
||||
cat $COMDEV
|
||||
Reference in New Issue
Block a user