Commit d6cfa558 authored by liumg's avatar liumg
Browse files

Upload New File

parent 1b8bcca1
#!/usr/bin/bash
function echoAndRun(){
hline
echo
echo "[root@dcu ~]# "$1;
eval $1 ;
echo;
}
# 日志函数
function log() {
[ $QUIET_MODE -eq 0 ] && echo "$@"
}
function hline() {
printf "%0.s=" {1..60}
echo
}
## 标准化提示信息格式
function head_normal() {
echo -e "\n############$1############"
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment