I think it's a reasonable method to add the functionality to return back to UBCD's menu.
Regarding the code... The initial menu in PMagic uses numbers, starting from "^1. ", and the "^.." might suggest some menu relation (as already used in UBCD and in PMagic). Since this entry would be the only visual customization in PMagic's menu, I would use "
0. Return to
..." so to differentiate it from the standard entries in PMagic.
Besides the code itself, Victor
tends to leave the original tools, including their boot methods (and boot menu) "as-is" except for the minimal editions that are absolutely necessary for their inclusion in UBCD. So I have 2 concerns regarding the addition of this "sed" code.
1. By adding this entry to PMagic's boot menu; are we opening the door to endless discussions about whether to modify something else (in PMagic's menu or anywhere else)? I always welcome suggestions, ideas, discussions and more (and I sometimes post some of my own). I just hope they can be kept relevant for generic users and under the scope of UBCD.
2. Does Victor
agree with this approach? If not, the "sed" code could be added but commented out by default.
It should be noted that in some variants of PMagic, to be able to see this additional menu entry, the user would need to scroll down the menu (or press "END"), because the default (max) menu rows are already being displayed.
I'd like to hear from Victor
, specially regarding question #2, since I'm planing to post the first public beta of the pm2ubcd script(s) some time this week.