From e794860038ef3b184171b5ca00f6b9e1b8a3115e Mon Sep 17 00:00:00 2001 From: "t@marin" Date: Wed, 15 Mar 2023 22:52:13 +0700 Subject: [PATCH] adjust: log Kernel `${bin_name}` is missing. --- scripts/src/box.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/src/box.service b/scripts/src/box.service index c9219e5..216abaf 100755 --- a/scripts/src/box.service +++ b/scripts/src/box.service @@ -57,7 +57,7 @@ check_permission() { if [ "${box_user_group}" = "root:net_admin" ]; then if [ ! -f ${bin_path} ]; then log error "Kernel ${bin_name} is missing." - log error "Please download and place it in the ${bin_path} directory." + log error "Please download the ${bin_name} kernel and place it in the ${bin_kernel}/ directory." exit 1 fi # Set ownership and permission of kernel directory @@ -108,7 +108,7 @@ check_permission() { fi else log error "Kernel ${bin_name} is missing." - log error "Please download kernel, replace it in the /data/adb/modules/box_for_magisk/system/bin/${bin_name} directory, and reboot." + log error "Please download the ${bin_name} kernel, place it in the /data/adb/modules/box_for_magisk/system/bin/ directory and reboot." exit 1 fi fi