diff --git a/plugins/unRAIDServer/unRAIDServer.plg b/plugins/unRAIDServer/unRAIDServer.plg index eba702dde..99c47304d 100644 --- a/plugins/unRAIDServer/unRAIDServer.plg +++ b/plugins/unRAIDServer/unRAIDServer.plg @@ -9,7 +9,7 @@ - + ]> @@ -343,6 +343,10 @@ if [ "${version:0:3}" \< "6.2" ]; then if ! grep -q 'IMAGE_SIZE' /boot/config/domains.cfg &> /dev/null ; then echo 'IMAGE_SIZE="1"' >> /boot/config/domains.cfg fi + if ! grep -q '/bzroot-gui' /boot/syslinux/syslinux.cfg &> /dev/null ; then + sed -i 's|menu title Lime Technology\r|menu title Lime Technology, Inc.\r|g' /boot/syslinux/syslinux.cfg &> /dev/null + sed -i 's|label unRAID OS Safe Mode (no plugins)|label unRAID OS GUI Mode\r\n kernel /bzimage\r\n append initrd=/bzroot,/bzroot-gui\r\nlabel unRAID OS Safe Mode (no plugins, no GUI)|g' /boot/syslinux/syslinux.cfg &> /dev/null + fi fi # when upgrading any version prior to 6.1 if [ "${version:0:3}" \< "6.1" ]; then