mirror of
https://github.com/eddyem/pusirobot.git
synced 2026-03-21 17:21:06 +03:00
add quiet option, fix something
This commit is contained in:
16
commandline/cfg/Fmove
Executable file
16
commandline/cfg/Fmove
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Usage: $0 <steps>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
STEPS=$1
|
||||
NEGSTEPS=$((-$1))
|
||||
|
||||
echo "Move focus to $STEPS steps"
|
||||
|
||||
./steppermove -qI1 -r $NEGSTEPS
|
||||
./steppermove -qI2 -r $STEPS
|
||||
./steppermove -qI3 -r $STEPS
|
||||
|
||||
Reference in New Issue
Block a user