Listing 3 -- odmadd file
#####################################
# Gnut SMIT Menu ODM Stanzas
#####################################

# top menu
sm_menu_opt:
        id = "top_menu"
        id_seq_num = "010"
        next_id = "aixadm_gnut_menu"
        text = "Gnut - Gnutella Server"
        next_type = "m"

#####################################
# Apps menu details for Gnut start/stop                
#####################################
##
# start
##
sm_menu_opt:
        id = "aixadm_gnut_menu"
        id_seq_num = "010"
        next_id = "aixadm_gnut_start"
        text = "Start Gnut Server"
        next_type = "d"

sm_cmd_hdr:
        id = "aixadm_gnut_start"
        has_name_select = ""
        name = "Start Gnutella Server"
        cmd_to_exec = "startsrc -s gnut"
        ask = "n"
        exec_mode = "p"
        ghost = "y"
##
# stop
##
sm_menu_opt:
        id = "aixadm_gnut_menu"
        id_seq_num = "020"
        next_id = "aixadm_gnut_stop"
        text = "Stop Gnut Server"
        next_type = "d"

sm_cmd_hdr:
        id = "aixadm_gnut_stop"
        has_name_select = ""
        name = "Stop Gnutella Server"
        cmd_to_exec = "stopsrc -s gnut"
        ask = "n"
        exec_mode = "p"
        ghost = "y"

