-
Notifications
You must be signed in to change notification settings - Fork 18
Shell startup script: unknown command loop #29
Copy link
Copy link
Open
Description
I'm trying to write a startup script for this for my Raspberry Pi. At this line: /home/pi/armv6l/fliclib-cpp/flic the terminal ends up with an infinite loop of unknown command. It works if I call the command directly in the terminal.
#!/bin/sh
sudo service bluetooth stop
sudo hciconfig hci0 up
echo "STARTING BLUETOOTHD"
sudo systemctl start bluetooth &
echo "STARTING DATABASE"
/home/pi/armv6l/daemon -l -f flic.sqlite3 &
echo "STARTING FLIC"
/home/pi/armv6l/fliclib-cpp/flic & # => "unknown command" happens here
echo "STARTING PYTHON SCRIPT"
python2.7 /home/pi/armv6l/fliclib-cpp/ffi/python/flic/dist/main.pyI'm not entirely sure if this is related/issue-worthy on this repo and I've been stuck for quite some time now. I was wondering if any of you had an idea why this might happen?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels