Files
vendor_motorola_sm6375-common/proprietary/vendor/bin/init.mmi.modules.sh
T
TheImposter65 5d0291f99e sm6375-common: Import vendor files for the Linux 6.1 port
Extracted from malmo_g W1UOS36H.35-39-8 and device-specific compatibility overrides. Device extraction scripts preserve the build compatibility fixups.
2026-11-07 20:16:21 +00:00

11 lines
247 B
Bash
Executable File

#!/vendor/bin/sh
# All modules that depend on conditions or need extra parameters
# should go here.
# Handle factory bootmode
bootmode=$(getprop ro.bootmode)
if [ $bootmode = "mot-factory" ]; then
insmod /vendor/lib/modules/moto_f_usbnet.ko
fi