#!/bin/sh
# ----------------------------------------------------------------------
# /var/install/dialog.d/RSNAPSHOT_WEEKLY_BACKUP_DAY_CUI.sh
#
# Creation   :  2009-11-05 alex
# Last Update:  2009-11-05 $Id$
#
# Copyright (c) 2001-2009 the eisfair team, team(at)eisfair(dot)org
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# ----------------------------------------------------------------------

. /var/install/include/cuilib
. /var/install/include/ecelib

# ----------------------------------------------------------------------
# exec_dailog
# ece --> request to create and execute dialog
#         $p2 --> main window handle
#         $p3 --> name of config variable
# ----------------------------------------------------------------------
exec_dialog()
{
    _win="$p2"

    _select_list='mon,tue,wed,thu,fri,sat,sun'

    ece_select_list_dlg "${_win}" 'Which day for weekly backup?' "${_select_list}"
}

# ----------------------------------------------------------------------
# main routine
# ----------------------------------------------------------------------

cui_init
cui_run

# ----------------------------------------------------------------------
# end
# ----------------------------------------------------------------------
exit 0
