mirror of https://github.com/OpenIPC/firmware.git
Add autoconfig support
parent
deeb812bff
commit
dcf89c39cb
|
@ -23,6 +23,9 @@ my_mount()
|
||||||
|
|
||||||
# copy files from autoconfig folder
|
# copy files from autoconfig folder
|
||||||
[ -d "${destdir}/$1/autoconfig" ] && cp -afv ${destdir}/$1/autoconfig/* / | logger -s -p daemon.info -t autoconfig
|
[ -d "${destdir}/$1/autoconfig" ] && cp -afv ${destdir}/$1/autoconfig/* / | logger -s -p daemon.info -t autoconfig
|
||||||
|
|
||||||
|
# execution of the specified commands
|
||||||
|
[ -f "${destdir}/$1/autoconfig.sh" ] && ${destdir}/$1/autoconfig.sh | logger -s -p daemon.info -t autoconfig
|
||||||
}
|
}
|
||||||
|
|
||||||
case "${ACTION}" in
|
case "${ACTION}" in
|
||||||
|
|
Loading…
Reference in New Issue