[Voyage-linux] Problem with /etc/init.d/rc.local and voyage 0.7.0

Luca (spam-protected)
Mon May 16 19:16:05 HKT 2011


Hi all,
I have a little problem with voyage-linux 0.7.0. and my alix 3d3.
This is my /etc/init.d/rc.local
...
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
        mount /dev/sda1 /mnt/scambio -o umask=000
        echo 0 > /sys/class/leds/alix\:1/brightness
        echo 0 > /sys/class/leds/alix\:2/brightness
        echo 0 > /sys/class/leds/alix\:3/brightness
      #  /etc/init.d/rc.firewall
        ;;
    restart|reload|force-reload)
        echo "Error: argument '$1' not supported" >&2
        exit 3
        ;;

....
As you can see I mount a usb pendrive and I turn off LEDs. The problem
is that LEDs do not go off, as if the statement was not executed while
the usb pendrive is mounted correctly. If I enable script for the
firewall (It is now commented) it still does not run at boot. If I run
those commands from the console (after the boot) LEDs go off normally
and the firewall starts normally. What's wrong?

Thanks in advance.

--
Luca F.




More information about the Voyage-linux mailing list