When shutting down Finnix Rescue Disk (using power button), I got the following message:
Please remove the live-medium, close the tray (if any) and press ENTER to continue:
Well, if I don't use power button, I can just trigger
poweroff -f , where the -f option to force the rescue disk to shutdown, this will shutdown the OS without the above interactive message.
But using the power button it will not shutdown the OS with option -f. So how do you skip this message when shutting down the Finnix Rescue Disk using power button?
I found this post here which talks about
- modifying the script for /run/casper-no-prompt (but it doesn't work probably because this file is only for Ubuntu-based)
nopromptand I even put
noejectat the boot parameter but it has no effect
Note that I'm able to edit this ISO file and repack it back and make it bootable. So, is there a file that I can modify to skip the above interactive message when shutting down Finnix like putting a boot script that will trigger after pressing power button. I found that post here about Graceful shutdown via power button but it talks about CentOS only but I don't think this will work.