# Configuration file for Aurora
# Copyright (C) 1999 - 2000 RedHog (Egil Mller) <redhog@mandrakesoft.com>
# Changes 2000-2001 by MandrakeSoft, RedHog (Egil Mller) <redhog@mandrakesoft.com>
# This program is subject to the GNU General Public License
#
# Homepage: http://aurora.mini.dhs.org

# Source function libraries
. /etc/rc.d/init.d/functions
. /lib/aurora/functions

# If the initscripts haven't told us to go into confirmation mode, we
# take a look at the kernel command-line, just in case the initscripts
# didn't...
if [ "$CONFIRM" = "" ]; then
 if grep -i confirm /proc/cmdline >/dev/null || [ -f /var/run/confirm ] ; then
  rm -f /var/run/confirm
  CONFIRM=yes
 else
  CONFIRM=no
 fi
fi

aurora_cmd
 # Set up some basic configuration
 aurora_set_completion "$(echo_success)" "$(echo_passed)" "$(echo_failure)"
 aurora_set_confirm "$CONFIRM"
 aurora_create_dialog "ync"
  aurora_create_dialog_title
   echo Start service foo?
  aurora_end
  aurora_create_dialog_button "Yes"
   echo "Y"
   echo ""
  aurora_end
  aurora_create_dialog_button "No"
   echo "N"
   echo ""
  aurora_end
  aurora_create_dialog_button "Continue"
   echo "C"
   echo ""
  aurora_end
 aurora_end
 aurora_get_name MONITOR
aurora_end

aurora_cmd
 # Set up some basic configuration
 aurora_set_completion "$(echo_success)" "$(echo_passed)" "$(echo_failure)"
 aurora_set_confirm "$CONFIRM"
 aurora_create_dialog "yn"
  aurora_create_dialog_title
   echo Start service foo?
  aurora_end
  aurora_create_dialog_button "Yes"
   echo "Y"
   echo ""
  aurora_end
  aurora_create_dialog_button "No"
   echo "N"
   echo ""
  aurora_end
 aurora_end
 aurora_get_name MONITOR
aurora_end

# Branch into configuration specific to the current Monitor
[ -x /etc/aurora/$MONITOR.rc ] && . /etc/aurora/$MONITOR.rc
