[vz-users] Nothing to Plot / Daten kommen nicht an

Udo1 udo1 at gmx.net
Thu Oct 1 18:11:50 CEST 2015


Am 01.10.2015 um 17:14 schrieb Joerg Middendorf:
> /etc/init.d/rc.local: 20: /etc/init.d/rc.local: do_start: not found
Da hast du dir letztens wohl die /etc/init.d/rc.local zerschossen.
Editier die mal. Die sollte so aussehen:

#! /bin/sh
### BEGIN INIT INFO
# Provides:          rc.local
# Required-Start:    $remote_fs $syslog $network
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Run /etc/rc.local if it exist
### END INIT INFO


PATH=/sbin:/usr/sbin:/bin:/usr/bin

. /lib/init/vars.sh
. /lib/lsb/init-functions

do_start() {
         if [ -x /etc/rc.local ]; then
                 [ "$VERBOSE" != no ] && log_begin_msg "Running local 
boot scripts (/etc/rc.local)"
                 /etc/rc.local
                 ES=$?
                 [ "$VERBOSE" != no ] && log_end_msg $ES
                 return $ES
         fi
}

case "$1" in
     start)
         do_start
         ;;
     restart|reload|force-reload)
         echo "Error: argument '$1' not supported" >&2
         exit 3
         ;;
     stop)
         ;;
     *)
         echo "Usage: $0 start|stop" >&2
         exit 3
         ;;
esac


Gruß
Udo


More information about the volkszaehler-users mailing list