Hallo Forum,
ich benötige mal eure Hilfe.
Ich bekommen folgendes script nicht automatisch gestartet
ZitatAlles anzeigen
### BEGIN INIT INFO
# Provides: remotecontrol
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Discription: Start Remote Controle
# Description: Start Remote Controle Daemon for my radio controlled jacks at boot time.
### END INIT INFO#! /bin/sh
# /etc/init.d/remotecontrol
USER=root
HOME=/root
export USER HOME
case “$1″ in
start)
echo “Starting Raspberry Remote Controle Daemon”
#Insert your favoured settings for a VNC session
/home/pi/raspberry-remote/daemon &
;;
stop)
echo “Stopping Raspberry Remote Controle Daemon”
killall daemon
;;
*)
echo “Usage: /etc/init.d/remotecontrol {start|stop}”
exit 1
;;
esac
exit 0
egal was ich mache ich bekomme beim " sudo update.rc name_des_scripts defaults"
das Ergebnis
Zitat
pi@pi-nas /etc/init.d $ sudo update-rc.d remotecontrol defaults
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (2) of script `remotecontrol' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (empty) of script `remotecontrol' overrides LSB defaults (0 1 6).
pi@pi-nas /etc/init.d $
und es wird nicht mitgestartet.
Kann mir da einer helfen.
Danke
FB_Addon_TelNo{ height:15px !important; white-space: nowrap !important; background-color: #0ff0ff;}