If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:major nr
BoxMatrix >> Shell-Commands >> major_nr | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Startup-Script
Command: | major_nr - type Script | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Startup-Scripts - Origin: AVM | ||||||
Path: | Release: /etc/boot.d Lab+Rel: /etc/boot.d | ||||||
Properties: | Size: 316 - 358 - Firmware: 7.19 - 8.00 | ||||||
Function: | Helper script to get the major number of a device. |
Goto: Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
major_nr is a /etc/boot.d helper script to get the major number of a device.
It can not be called directly but is used as an include to define one function. Simplified from 7520 fw 7.57:
major_nr() { device=$1 grep -we $device /proc/devices | read major device echo $major }
This function expects a device name as argument and returns its major number. Usage example from E03-flash_update:
. /etc/boot.d/major_nr mknod -m 666 /dev/led c "$(major_nr led)" 0
The first line includes the function, the second line calls it.
Dependencies
Daily updated index of all dependencies of this script. Last update: 2024-11-21 07:52 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
0 dependencies for this script |
Model-Matrix
Daily updated index of the presence, path and size of this script for each model. Last update: 2024-11-21 05:56 GMT.
Showing all models using this script. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 3490 (main) | 7.27 - 7.30 | /etc/boot.d | 316 |
FRITZ!Box 3490 (scrpn) | 7.27 - 7.30 | /etc/boot.d | 316 |
FRITZ!Box 4040 | 7.24 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 4050 | 7.58 - 7.90 | /etc/boot.d | 316 - 358 |
FRITZ!Box 4060 | 7.29 - 7.90 | /etc/boot.d | 316 - 358 |
FRITZ!Box 5490 (main) | 7.27 - 7.29 | /etc/boot.d | 316 |
FRITZ!Box 5490 (scrpn) | 7.27 - 7.29 | /etc/boot.d | 316 |
FRITZ!Box 5491 (main) | 7.27 - 7.29 | /etc/boot.d | 316 |
FRITZ!Box 5491 (scrpn) | 7.27 - 7.29 | /etc/boot.d | 316 |
FRITZ!Box 5530 Fiber (boot) | 7.21 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 5530 Fiber (main) | 7.21 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 5590 Fiber (boot) | 7.29 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 5590 Fiber (prx) | 7.29 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 5690 Pro (main) | 7.62 - 7.90 | /etc/boot.d | 358 |
FRITZ!Box 5690 Pro (rtl) | 7.62 - 7.90 | /etc/boot.d | 358 |
FRITZ!Box 6430 Cable (arm) | 7.29 | /etc/boot.d | 316 |
FRITZ!Box 6430 Cable (atom) | 7.29 | /etc/boot.d | 316 |
FRITZ!Box 6490 Cable (arm) | 7.19 - 7.51 | /etc/boot.d | 316 |
FRITZ!Box 6490 Cable (atom) | 7.19 - 7.51 | /etc/boot.d | 316 |
FRITZ!Box 6590 Cable (arm) | 7.19 - 7.57 | /etc/boot.d | 316 |
FRITZ!Box 6590 Cable (atom) | 7.19 - 7.51 | /etc/boot.d | 316 |
FRITZ!Box 6591 Cable (arm) | 7.19 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 6591 Cable (atom) | 7.19 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 6660 Cable (arm) | 7.19 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 6660 Cable (atom) | 7.19 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 6670 Cable (arm) | 7.61 - 7.90 | /etc/boot.d | 358 |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /etc/boot.d | 358 |
FRITZ!Box 6690 Cable (arm) | 7.28 - 7.90 | /etc/boot.d | 316 - 358 |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /etc/boot.d | 316 - 358 |
FRITZ!Box 6820 LTE v1 (main) | 7.19 - 7.51 | /etc/boot.d | 316 |
FRITZ!Box 6820 LTE v2 (main) | 7.19 - 7.51 | /etc/boot.d | 316 |
FRITZ!Box 6820 LTE v3 (main) | 7.19 - 7.57 | /etc/boot.d | 316 |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /etc/boot.d | 316 - 358 |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /etc/boot.d | 316 - 358 |
FRITZ!Box 6890 LTE (main) | 7.21 - 7.57 | /etc/boot.d | 316 |
FRITZ!Box 6890 LTE v1 (main) | 7.21 - 7.57 | /etc/boot.d | 316 |
FRITZ!Box 6890 LTE v2 (main) | 7.21 - 7.57 | /etc/boot.d | 316 |
FRITZ!Box 7430 (main) | 7.21 - 7.31 | /etc/boot.d | 316 |
FRITZ!Box 7490 (main) | 7.19 - 7.51 | /etc/boot.d | 316 |
FRITZ!Box 7490 (scrpn) | 7.19 - 7.51 | /etc/boot.d | 316 |
FRITZ!Box 7510 | 7.30 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 7520 | 7.21 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 7530 | 7.19 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 7530 AX | 7.20 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 7560 (main) | 7.24 - 7.30 | /etc/boot.d | 316 |
FRITZ!Box 7580 (main) | 7.21 - 7.30 | /etc/boot.d | 316 |
FRITZ!Box 7583 (main) | 7.21 - 7.59 | /etc/boot.d | 316 |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 7590 (main) | 7.19 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | /etc/boot.d | 316 - 358 |
FRITZ!Box 7690 | 7.61 - 7.90 | /etc/boot.d | 358 |
FRITZ!Smart Gateway | 7.52 - 7.63 | /etc/boot.d | 316 |
FRITZ!Repeater 600 | 7.21 - 7.58 | /etc/boot.d | 316 |
FRITZ!Repeater 600 v2 | 7.27 - 7.58 | /etc/boot.d | 316 |
FRITZ!Repeater 1200 | 7.19 - 7.58 | /etc/boot.d | 316 |
FRITZ!Repeater 1200 AX | 7.30 - 7.58 | /etc/boot.d | 316 |
FRITZ!WLAN Repeater 1750E | 7.31 - 7.32 | /etc/boot.d | 316 |
FRITZ!Repeater 2400 | 7.19 - 7.58 | /etc/boot.d | 316 |
FRITZ!Repeater 3000 | 7.19 - 7.58 | /etc/boot.d | 316 |
FRITZ!Repeater 3000 AX | 7.41 - 7.58 | /etc/boot.d | 316 |
FRITZ!Repeater 6000 | 7.19 - 7.58 | /etc/boot.d | 316 |
FRITZ!Powerline 1240 AX | 7.57 - 7.58 | /etc/boot.d | 316 |
FRITZ!Powerline 1260E | 7.21 - 7.58 | /etc/boot.d | 316 |
FRITZ!Powerline 1260 | 7.27 - 7.58 | /etc/boot.d | 316 |
66 models use this script |
Symbols
Daily updated index of all symbols of this script. Last update: 2024-11-21 07:52 GMT.
Firmware | Symbol |
---|---|
0 symbols for this script |