7 if ($cgi eq 'edit_action.cgi') {
9 return 'none' if ($init_mode ne 'init');
10 my @iacts = &list_actions();
11 my @ac = split(/\s+/, $iacts[0]);
14 elsif ($cgi eq 'edit_hostconfig.cgi') {
15 return 'none' if ($init_mode ne 'osx');
16 my @hconf_set = &hostconfig_settings();
17 return '0+'.$hconf_set[0][0];
19 elsif ($cgi eq 'edit_rc.cgi') {
20 return 'none' if ($init_mode ne 'rc');
21 my @rcs = &list_rc_scripts();
22 return 'name='.&urlize($rcs[0]->{'name'});
24 elsif ($cgi eq 'reboot.cgi' || $cgi eq 'shutdown.cgi') {
25 # Link *without* confirm parameter