misc: rewrite install message

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-06-25 17:08:59 +02:00
parent 32accdef63
commit 2fbfa1bdac

View File

@ -77,6 +77,8 @@ EOF
# error message # error message
if [ ! -b /dev/synoboot ] || [ ! -b /dev/synoboot1 ] || [ ! -b /dev/synoboot2 ] || [ ! -b /dev/synoboot3 ]; then if [ ! -b /dev/synoboot ] || [ ! -b /dev/synoboot1 ] || [ ! -b /dev/synoboot2 ] || [ ! -b /dev/synoboot3 ]; then
sed -i 's/c("welcome","desc_install")/"Error: The Bootloader Disk is not successfully mounted! The Installation will fail!!!"/' /usr/syno/web/main.js sed -i 's/c("welcome","desc_install")/"Error: The Bootloader Disk is not successfully mounted! The Installation will fail!!!"/' /usr/syno/web/main.js
else
sed -i 's/c("welcome","desc_install")/"Welcome to DSM Installation. Your Arc Loader is working properly!"/' /usr/syno/web/main.js
fi fi
# recovery.cgi # recovery.cgi