This add a script to use either the user hook or the default one. Sometime we checked the user hook or a default code. We move this default code in a defaut hook. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
9 lines
130 B
Bash
9 lines
130 B
Bash
#!/usr/bin/env sh
|
|
|
|
VIBS=5
|
|
VIBI=0
|
|
while [ $VIBI -lt $VIBS ]; do
|
|
sxmo_vibratepine 400 &
|
|
sleep 0.5
|
|
VIBI=$(echo $VIBI+1 | bc)
|
|
done
|