2017-07-22 4 views

答えて

2

/etc/rc.localは言う:

また
#!/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. 

、あなたはこのボードについて知っていた:https://raspberrypi.stackexchange.com/

1

アプリへのパスを含む/etc/init.dの中で、新たなシェルスクリプトを作成します。

#!/bin/sh 
/<insertpath>/a.out 

システムの起動を更新するようにシステムに通知します。

update-rc.d a.out defaults 

最後に、あなたは、アプリの実行ファイルを作成する必要があります。

chmod ugo+x /etc/init.d/a.out 
関連する問題