From 720e88f2dc3d6605b4b027a6b6d864ccfe2c754e Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 17 Oct 2020 23:11:17 +0200 Subject: [PATCH] CommonInstaller: fixup system mode restoration for init scripts --- CommonInstaller | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonInstaller b/CommonInstaller index 91aa485..26b7591 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -1294,7 +1294,7 @@ install_initd () { if [ -f "${INSTALLER}/system/etc/init.d/${script}" ]; then cp "${INSTALLER}/system/etc/init.d/${script}" "${INIT_BASE}/" set_perm_bin "${INIT_BASE}/${script}" - installinfo_add "/system/etc/init.d/${init}" + installinfo_add "/system/etc/init.d/${script}" else ui_print " -- ${script} is not a known init script" fi