Subversion Repositories livecd

Rev

Rev 128 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 128 Rev 144
Line 20... Line 20...
20
. /etc/init.d/functions
20
. /etc/init.d/functions
21
 
21
 
22
# do not run, if we change runlevels
22
# do not run, if we change runlevels
23
touch /var/lock/subsys/kudzu-auto
23
touch /var/lock/subsys/kudzu-auto
24
 
24
 
25
 
-
 
26
### -----------------------------------------------------------
25
### -----------------------------------------------------------
27
### Get boot parameters
26
### Get boot parameters
28
### -----------------------------------------------------------
27
### -----------------------------------------------------------
29
 
28
 
30
# do not start network
29
# do not start network
Line 44... Line 43...
44
 
43
 
45
# do not apply any fixes (for debugging)
44
# do not apply any fixes (for debugging)
46
NOFIX=$( cmdline_parameter nofix )
45
NOFIX=$( cmdline_parameter nofix )
47
 
46
 
48
 
47
 
49
 
-
 
50
### -----------------------------------------------------------
48
### -----------------------------------------------------------
51
### Main
49
### Function start_kudzu_auto
52
### -----------------------------------------------------------
50
### -----------------------------------------------------------
53
 
51
 
-
 
52
start_kudzu_auto() {
-
 
53
 
54
### run kudzu in quiet mode
54
    ### run kudzu in quiet mode
55
action $"Hardware auto-detection, please wait... " /usr/sbin/kudzu -q
55
    action $"Hardware auto-detection, please wait... " /usr/sbin/kudzu -q
56
 
56
 
57
 
57
 
58
### never start on boot the following network devices (wifi0)
58
    ### never start on boot the following network devices (wifi0)
Line 166... Line 166...
166
	    sed -i "s/ONBOOT=.*/ONBOOT=no/" $file
166
		sed -i "s/ONBOOT=.*/ONBOOT=no/" $file
167
	fi
167
	    fi
168
    done
168
	done
169
fi
169
    fi     
170
 
170
 
-
 
171
}
-
 
172
 
-
 
173
 
-
 
174
### -----------------------------------------------------------
-
 
175
### Main
-
 
176
### -----------------------------------------------------------
-
 
177
 
-
 
178
case "$1" in
-
 
179
 start)
-
 
180
     start_kudzu_auto
-
 
181
     ;;
-
 
182
 
-
 
183
 stop)
-
 
184
     ;;
-
 
185
 
-
 
186
 *)
-
 
187
     echo $"Usage: $0 {start|stop}"
-
 
188
     exit 1
-
 
189
     ;;
-
 
190
 
-
 
191
esac