Comment 22 for bug 882254

Revision history for this message
Rudy Mario Moretti (rudymariomoretti) wrote :

Hello,
---------------------------------------------------------
- hello, on ubuntu 15.04 64Bit
 rc.local don't start!
---------------------------------------------------------
- on terminal using command
# sudo /etc/init.d/rc.local start

it stop loading libs at :

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

" it stop here. "
---------------------------------------------------------
this is rc.clocal file...

#!/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

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
---------------------------------------------------------
can someone help me?