mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-12-23 17:57:36 +00:00
Added colored debug messages
This commit is contained in:
parent
3d96698901
commit
94763c8aef
@ -2,9 +2,10 @@
|
||||
|
||||
source configs.sh
|
||||
|
||||
function debug()
|
||||
function debug
|
||||
{
|
||||
echo $(date "+%Y/%m/%d - %H:%M:%S :") "$1"
|
||||
ECHO_PARAM=${2:-''}
|
||||
echo -e $ECHO_PARAM ${GREEN}$(date "+%Y/%m/%d->${BLUE}%H:%M:%S") ${SET} "$1"
|
||||
}
|
||||
|
||||
function check_network()
|
||||
|
Loading…
Reference in New Issue
Block a user