2 # Filename: grml-config
3 # Purpose: main configuration interface for running configure scripts on grml system
4 # Authors: grml-team (grml.org), (c) Nico Golde <nico@grml.org>, (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2.
7 # Latest change: Mon Dec 05 11:12:59 CET 2005 [mika]
8 ################################################################################
10 PATH=${PATH:-'/bin/:/sbin/:/usr/bin:/usr/sbin'}
12 # set up some variables
13 DIALOG=$(which dialog)
16 if [ $UID != 0 ] ; then
23 MENU=$($DIALOG --stdout --clear --title "$PN" --default-item $DEFAULTITEM --menu \
24 "Please select the scripts you would like to run.
26 Report bugs, send whishes and feedback to the grml team:
27 http://www.grml.org/ - contact (at) grml.org
30 "root" "Admin scripts (needs root permissions)" \
31 "user" "User scripts" \
32 "exit" "Exit this program")
38 if [ $MENU == root ]; then
41 if [ $MENU == user ]; then
44 if [ $MENU == exit ]; then
49 echo "Cancel pressed.";;
57 ## END OF FILE #################################################################