前提・実現したいこと
Raspberry Pi 3b+ においてpythonで書いたプログラムを
起動人実行したい。
■■な機能を実装中に以下のエラーメッセージが発生しました。
発生している問題・エラーメッセージ
エラーメッセージ
該当のソースコード
#!/bin/sh -e
rc.local
This script is executed at the end of each multiuser runlevel.
Make sure that the script will "exit 0" on success or any other
value on error.
In order to enable or disable this script just change the execution
bits.
By default this script does nothing.
Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
fi
sh /home/pi/aws-iot-device-sdk-python/samples/basicPubSub/doorShadowUpdater.sh
exit 0
試したこと
ウェブに載っている情報で「rc.localファイル」「systemd」の方法は試したのですがいまだに解決しない状況です。
以前は「rc.localファイル」の方法で出来ました。
補足情報(FW/ツールのバージョンなど)
ラズパイ3b+
python2.7.13
AWSが絡んでいるので出来ないのかもと思っています。