Hallo,
ich frage mich warum meine rc.local nur mit einem manuellen Aufruf funktioniert, aber nicht wenn das System hochfährt. Es handelt sich hier um ein XBMC bzw. Kodi (Debian GNU/Linux 7.8 - 3.12.31).
Rechte und Besitzer der rc.local:
Inhalt:
Bash
#!/bin/bash
#
# 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.
date > /tmp/testdebug.log
(/bin/sleep 10 && /etc/init.d/iptables_TOR.sh)
exit 0
Alles anzeigen
#!/bin/sh
und
#!/bin/bash
mit und ohne "-e" habe ich schon probiert.
Ob es vielleicht am Kodi-System liegt? Dazu habe dazu leider nichts gefunden. Andere Kodi Nutzer scheinen die rc.local auch zu gebrauchen.
Bin dankbar für Tipps.