[SYSTEM] Execute autoconfig.sh via sh

pull/277/head
Igor Zalatov (from Citadel PC) 2022-07-23 21:58:09 +03:00
parent 6adbaefee4
commit 4e570912f0
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ my_mount()
[ -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
[ -f "${destdir}/$1/autoconfig.sh" ] && sh ${destdir}/$1/autoconfig.sh | logger -s -p daemon.info -t autoconfig
}
case "${ACTION}" in