Small and unimportant edits and file moves ()

pull/500/head
Igor Zalatov 2022-10-03 09:48:48 +03:00 committed by GitHub
parent 70e8bfe579
commit 5544287cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions
general
overlay/lib/mdev
package/hisilicon-osdrv-hi3516cv100/files/sensor/config

View File

@ -24,8 +24,11 @@ my_mount()
# copy files from autoconfig folder
[ -d "${destdir}/$1/autoconfig" ] && cp -afv ${destdir}/$1/autoconfig/* / | logger -s -p daemon.info -t autoconfig
# execution of the specified commands
# execution of the specified commands one time
[ -f "${destdir}/$1/autoconfig.sh" ] && (sh ${destdir}/$1/autoconfig.sh ; rm -f ${destdir}/$1/autoconfig.sh) | logger -s -p daemon.info -t autoconfig
# execution of the specified commands
[ -f "${destdir}/$1/autostart.sh" ] && sh ${destdir}/$1/autostart.sh | logger -s -p daemon.info -t autostart
}
case "${ACTION}" in