29 |
rvecho "${driver}" |
rvecho "${driver}" |
30 |
} |
} |
31 |
|
|
32 |
#wlan.device |
helper_hardware_wlan_device() |
33 |
#wlan.driver |
{ |
34 |
|
local device |
35 |
|
local CONFIG |
36 |
|
|
37 |
|
device="$(get_hwinfo wlan)" |
38 |
|
|
39 |
|
CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/hardware/wlan.device" |
40 |
|
clearconfig |
41 |
|
addconfig "${device}" |
42 |
|
|
43 |
|
rvecho "${device}" |
44 |
|
} |
45 |
|
|
46 |
|
helper_hardware_wlan_driver() |
47 |
|
{ |
48 |
|
local driver |
49 |
|
local CONFIG |
50 |
|
|
51 |
|
driver="$(get_driver_modules wlan)" |
52 |
|
|
53 |
|
CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/hardware/wlan.driver" |
54 |
|
clearconfig |
55 |
|
addconfig "${driver}" |
56 |
|
|
57 |
|
rvecho "${driver}" |
58 |
|
} |
59 |
|
|
60 |
# hardware_graphic_device() |
# hardware_graphic_device() |
61 |
# { |
# { |
352 |
mecho "get hardware.detect [action] [class]" |
mecho "get hardware.detect [action] [class]" |
353 |
mecho " Prints information about the systems hardware" |
mecho " Prints information about the systems hardware" |
354 |
mecho " Available classes:" |
mecho " Available classes:" |
355 |
mecho " memory, cpu, arch, monitor, netcard, graphic, sound," |
mecho " memory, cpu, arch, monitor, netcard, wlan, graphic, sound," |
356 |
mecho " printer, disk, cdrom, keyboard, mouse, connected-iface" |
mecho " printer, disk, cdrom, keyboard, mouse, connected-iface" |
357 |
mecho " Available actions:" |
mecho " Available actions:" |
358 |
mecho " info - general information about a hwclass" |
mecho " info - general information about a hwclass" |
377 |
arch) helper_hardware_"${class}"_"${action}" ;; |
arch) helper_hardware_"${class}"_"${action}" ;; |
378 |
monitor) helper_hardware_"${class}"_"${action}" ;; |
monitor) helper_hardware_"${class}"_"${action}" ;; |
379 |
netcard) helper_hardware_"${class}"_"${action}" ;; |
netcard) helper_hardware_"${class}"_"${action}" ;; |
380 |
|
wlan) helper_hardware_"${class}"_"${action}" ;; |
381 |
graphic) helper_hardware_"${class}"_"${action}" ;; |
graphic) helper_hardware_"${class}"_"${action}" ;; |
382 |
sound) helper_hardware_"${class}"_"${action}" ;; |
sound) helper_hardware_"${class}"_"${action}" ;; |
383 |
printer) helper_hardware_"${class}"_"${action}" ;; |
printer) helper_hardware_"${class}"_"${action}" ;; |