X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=raspberrypi_gpio_relay_licht%2Frc.local;fp=raspberrypi_gpio_relay_licht%2Frc.local;h=0000000000000000000000000000000000000000;hp=33672c72c6dafcf90a583da8bbece0000a6568f7;hb=4ee2501ff864b8e15202ee814e8bafcc0c2adf6c;hpb=33bf0f0f0aa1a480ffa4ffff311af196ee1067c1 diff --git a/raspberrypi_gpio_relay_licht/rc.local b/raspberrypi_gpio_relay_licht/rc.local deleted file mode 100644 index 33672c7..0000000 --- a/raspberrypi_gpio_relay_licht/rc.local +++ /dev/null @@ -1,41 +0,0 @@ -#! /bin/sh -### BEGIN INIT INFO -# Provides: rc.local -# Required-Start: $all -# 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