A single-level menu does not refer to other menus. The following example shows a file named /etc/raddb/menus/menu_welcome for a single-level menu with three options:
menu
*** Welcome to EDU OnLine ***
Please select an option:
1. Start SLIP session
2. Start PPP Session
3. Quit
Option:
end
# This is a single-level menu called menu_welcome
1
Service-Type = Framed-User,
Framed-Protocol = SLIP,
Framed-IP-Address = 255.255.255.254,
Framed-Routing = None,
Framed-MTU = 1006,
Termination-Menu = "menu_welcome"
#
2
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 255.255.255.254,
Framed-Routing = None,
Termination-Menu = "menu_welcome"
#
3
Menu = "EXIT"
#
DEFAULT
Menu = "menu_welcome"
In the single-level menu example, after RADIUS authenticates the user, menu_welcome is displayed and the user is prompted to select a service from this menu. Once the user has finished the SLIP or PPP session, the termination menu--also menu_welcome in this case--is displayed and the user is prompted to select a new service. If a Termination-Menu reply item is not included in the list of reply items corresponding to the user's menu selection, the user is disconnected immediately after the SLIP or PPP session.