Skip to content

Commit

Permalink
liste et contenu fichier conf
Browse files Browse the repository at this point in the history
Permet de voir la liste  et contenu du fichier *.conf
  • Loading branch information
EgoyanAdrian authored Nov 24, 2022
1 parent 1f566c3 commit 13dc929
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions AutoCertBotProxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ function proxy(){
help
fi
}
function show(){
if [[ -z $1 ]];then
echo $(ls /etc/nginx/sites-available/)
elif [[ -n $1 ]];then
cat /etc/nginx/sites-available/$1 | while read ligne ; do
echo $ligne
done
echo $()
fi
}

case $1 in
-a | --add)
Expand Down

0 comments on commit 13dc929

Please sign in to comment.