#!/bin/bash

# eagleconfig
SEP_MSG="=============================================================================="
GREETING_MSG="==================== Configuration of your ADSL connexion ===================="
INFO_MSG="Note: you can stop this script anytime with [Ctrl][c]\n"
LOGIN_MSG="\nEnter your login for connecting to the ISP :"
PWD_MSG="\nEnter your password (given by your ISP):"
ONBOOT_MSG="\nDo you want the connection to start at boot ? y/[n]"
KEEP_OLD_PWD_MSG="\nA login and password have been found in ppp configuration file.\nDo you want to keep this login/password ? [o]/n"
PWD_ENCRYPT_MSG="\nDoes your ISP support password encryption ? [y]/n"
DEGROUPE_MSG="\nAre you "dgroup" (see http://eagle-usb.fr.st) ? y/[n]"
GENER_MSG="\nConfiguration successful."
MODULE_MSG="Loading module...        "
DSP_MSG="Loading DSP & options... "
OK_MSG="[ OK ]"
ERR_MSG="[ Error ]"

# startadsl
ALREADY_MSG="Connection seems to be already started!"
CANT_SYNC_MSG="Can't get synchro!"
NOT_OPER_MSG="Modem is not operational!\nCheck eaglestat result to know its state!"
PPPD_ERR_MSG="pppd does not succeed to launch connection!"
LOCK_MSG="\n\nYou have not yet configured the connection!\nYou can either:\n- launch eagleconfig\n- configure manually and then delete ${EAGLESCRIPT_DIR}/lock\n"
MIRE_DEG_MSG="Only not \"degroup\" users can connect to the mire!\n"

# fctStartAdsl
FCTSTART_USAGE_MSG="\nUsage: fctStartAdsl [-h] [-m] [-tN]\n -h|--help\t\t: display this help\n -m|--mire\t\t: connect to the mire\n -s|--simple\t\t: use ifconfig instead of ifup/ifdown\n -t|--timeout=[sec]\t: define delay for the modem to become operational\n"

# fctStopAdsl
FCTSTOP_USAGE_MSG="\nUsage: fctStopAdsl [-h] [-f]\n -h|--help\t\t: display this help\n -f|--force\t\t: force pppd to close (even if user is "dgroup")\n -s|--simple\t\t: use ifconfig instead of ifup/ifdown\n"

# eu_dsp
NOPARAMMSG="This script can't be run manually!"
PPPDOKMSG="The connexion has been started"
PPPDERRORMSG="Error: the connexion was not able to start"
