View Single Post
Old 01-30-2025, 03:38 PM   #1467
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
Question Help with NickelMenu - "dbg_msg" - Not working if followed by "reboot" command

Hi everyone, I need some help getting this NickelMenu config working.

I can't get the "dbg_msg" to display after the menu_item command is executed.

The command works and makes the change to my test.conf, I just want a msg to appear to let you know that the kobo will reboot.

Currently it just reboots no message is shown but command is done properly

this are the 6 combination that I have tried.

Number 6 is what I think the closest.

If I remove the "reboot" from the chain, I see the message as intended, with "reboot" as part of the chain, it seems to ignore that "dbg_msg".

What am I missing?

TIA


Code:
#=================================================================================================================================================#
# TEST #1 -  Fails to display "dbg_msg" but Command is successful and Reboots
#=================================================================================================================================================#

menu_item	: main		: Sync "ON": cmd_spawn: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_success	: cmd_spawn	: dbg_msg: Sync with ********************** Enabled - Rebooting to complete.
chain_success	: power	: reboot
menu_item	: main		: Sync "OFF": cmd_spawn: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_success	: cmd_spawn	: dbg_msg: Sync with ********************** Disabled - Rebooting to complete.
chain_success	: power	: reboot
	
#=================================================================================================================================================#
# TEST #2 -  Fails to display "dbg_msg" but Command is successful and Reboots --- Used "chain_always"
#=================================================================================================================================================#

menu_item	: main		: Sync "ON"	: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: cmd_spawn	: dbg_msg : Sync with ********************** Enabled - Rebooting to complete.
chain_success	: power	: reboot
menu_item	: main		: Sync "OFF"	: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: cmd_spawn	: dbg_msg : Sync with ********************** - Rebooting to complete.
chain_success	: power	: reboot
	
#=================================================================================================================================================#
# TEST #3 -  Fails to display "dbg_msg" but Command is successful and Reboots --- Used "chain_always" -- Removed "cmd_spawn"
#=================================================================================================================================================#
menu_item	: main		: Sync "ON"		: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: dbg_msg : Sync with ********************** Enabled - Rebooting to complete.
chain_success	: power	: reboot
menu_item	: main		: Sync "OFF" : cmd_spawn: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: dbg_msg : Sync with ********************** Disabled - Rebooting to complete.
chain_success	: power	: reboot
#=================================================================================================================================================#
# TEST #4 -  Fails to display "dbg_msg" but Command is successful and Reboots  -- Used "chain_success" -- Removed "cmd_spawn"
#=================================================================================================================================================#
menu_item	: main		: Sync "ON"	: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_success	: dbg_msg	: Sync with ********************** Enabled - Rebooting to complete.
chain_success	: power		: reboot
menu_item	: main		: Sync "OFF": cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_success	: dbg_msg: Sync with ********************** Disabled - Rebooting to complete.
chain_success	: power	: reboot

#=================================================================================================================================================#
# TEST #5 -  Displays a PID msg instead of "dbg_msg" Command is successful --- Used "chain_always" -- used "cmd_spawn" -- Disabled "Reboot" chain
#=================================================================================================================================================#
menu_item	: main		: Sync "ON"		: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: cmd_spawn		: dbg_msg: Sync with ********************** Enabled - Rebooting to complete.
#chain_success	: power			: reboot
menu_item	: main		: Sync "OFF"	: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: cmd_spawn		: dbg_msg: Sync with ********************** - Rebooting to complete.
#chain_success	: power			: reboot
#=================================================================================================================================================#
# TEST #6 -  Displays "dbg_msg" Command is successful --- Used "chain_always" -- Removed "cmd_spawn" -- Disabled "Reboot" chain
#=================================================================================================================================================#
menu_item	: main		: Sync "ON": cmd_spawn: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: dbg_msg: Sync with ********************** Enabled - Rebooting to complete.
#chain_success	: power	: reboot
menu_item	: main		: Sync "OFF": cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: dbg_msg: Sync with ********************** Disabled - Rebooting to complete.
#chain_success	: power	: reboot
Jadehawk is offline   Reply With Quote