View Single Post
Old 01-31-2025, 11:33 AM   #1470
Jadehawk
Member
Jadehawk doesn't litterJadehawk doesn't litterJadehawk doesn't litter
 
Posts: 11
Karma: 206
Join Date: Nov 2024
Device: Kobo Libra Colour / Kindle PWSE
Separate approach.

Quote:
Originally Posted by Rid View Post
You can try this option to show a reboot message. But you may need to add a sleep step after the } in this script eg: sleep 3 (change the 3, it is in seconds - to how ever long you would like or what actually works... Test this.) to see the previous dbg_msg in your NickelMenu script.

Use notepad++ to create the script but from the menu bar select 'Edit' then 'EOL Conversion' and select the 'Unix (LF)' option.

The NickelMenu syntax might be;
Code:
chain_success :cmd_spawn :quiet :/mnt/onboard/.adds/ndbus/NDBus_Reboot.sh
I see, so with the current NickelMenu "dbg_msg" & "dbg_toast", what I am aiming to do is not possible, and I will need to do it by running NickelDBus from which I can do it using a script like the one you provided.
I'll give that a shot, Thank you for the info and the script snippet, looks simple for someone like me to maybe figure out or else I'll be back for more help
Jadehawk is offline   Reply With Quote