initializing tree with aospdtgen just fr skeleton
This commit is contained in:
10
rootdir/bin/init.mmi.modules.sh
Normal file
10
rootdir/bin/init.mmi.modules.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/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
|
Reference in New Issue
Block a user