mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-25 15:59:22 +00:00
Update aoni-ep01j05 customization
This commit is contained in:
18
devices/t31_lite_aoni-ep01j05/general/overlay/etc/init.d/S70vendor
Executable file
18
devices/t31_lite_aoni-ep01j05/general/overlay/etc/init.d/S70vendor
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
# load vendor specific drivers
|
||||
vendor=$(ipcinfo -v)
|
||||
|
||||
log_vendor() {
|
||||
logger -s -p daemon.info -t ${vendor} "$1"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
[ "${vendor}" = "goke" ] || [ "${vendor}" = "hisilicon" ] && status=$(check_mac)
|
||||
[ -n "${status}" ] && log_vendor "${status}"
|
||||
echo -e '\nLoading of kernel modules...'
|
||||
gpio clear 14
|
||||
load_${vendor} -i
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user