sudo /sbin/insmod "/home/djubu/progs/2008_0522_RT2860_Linux_STA_v1.6.1.0/os/linux/rt2860sta.ko"
#! /bin/shPATH=/sbin:/bin:/usr/sbin:/usr/bin[ -f /etc/default/rcS ] && . /etc/default/rcS. /lib/lsb/init-functionsdo_start() { if [ -x /etc/rc.local ]; then log_begin_msg "Running local boot scripts (/etc/rc.local)" /etc/rc.local log_end_msg $? 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
#! /bin/shPATH=/sbin:/bin:/usr/sbin:/usr/bin[ -f /etc/default/rcS ] && . /etc/default/rcS. /lib/lsb/init-functionsdo_start() { if [ -x /etc/rc.local ]; then log_begin_msg "Running local boot scripts (/etc/rc.local)" /etc/rc.local log_end_msg $? 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[b]sudo /sbin/insmod "/home/djubu/progs/2008_0522_RT2860_Linux_STA_v1.6.1.0/os/linux/rt2860sta.k[/b] exit 3 ;;esac
De rc.local ziet er nu zo uit:
#!/bin/sh -e## 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./cdrom/custom/start.sh/sbin/insmod "/home/djubu/progs/2008_0522_RT2860_Linux_STA_v1.6.1.0/os/linux/rt2860sta.ko"exit 0
Het lijkt me dat dit inderdaad wel de goede is. Maar als ik die als volgt edit en reboot is er nog niets verandert.
dj@laptopIII:~$ ls -l /etc/rc.local-rwxr-xr-x 1 root root 421 2008-07-18 11:47 /etc/rc.localdj@laptopIII:~$