2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

CommonInstaller: fixup system mode restoration for init scripts

This commit is contained in:
Christopher Roy Bratusek 2020-10-17 23:11:17 +02:00
parent 88ac502aba
commit 720e88f2dc

View File

@ -1294,7 +1294,7 @@ install_initd () {
if [ -f "${INSTALLER}/system/etc/init.d/${script}" ]; then if [ -f "${INSTALLER}/system/etc/init.d/${script}" ]; then
cp "${INSTALLER}/system/etc/init.d/${script}" "${INIT_BASE}/" cp "${INSTALLER}/system/etc/init.d/${script}" "${INIT_BASE}/"
set_perm_bin "${INIT_BASE}/${script}" set_perm_bin "${INIT_BASE}/${script}"
installinfo_add "/system/etc/init.d/${init}" installinfo_add "/system/etc/init.d/${script}"
else else
ui_print " -- ${script} is not a known init script" ui_print " -- ${script} is not a known init script"
fi fi