Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2d216fae
authored
Sep 12, 2020
by
irul
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Kurang spasi error cui
1 parent
259d91f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server_info.sh
server_info.sh
View file @
2d216fa
...
...
@@ -110,7 +110,7 @@ if dpkg --get-selections | grep -E '(^|\s)apache2($|\s)' &> /dev/null ; then
#echo -e `apache2ctl -S 2>&1 | grep "namevhost" | awk '{print "(" NR ") " $4}'`
SITES
=
$(
echo
`
apache2ctl -S 2>&1 |grep
"sites-en"
|cut -d
"/"
-f5|cut -d
":"
-f1|rev|cut -d
"."
-f2-|rev|grep -v
"default"
|uniq -u|sort
`
)
if
[
! -z
"
$SITES
"
]
;
then
if
[
! -z
"
$SITES
"
]
;
then
echo
"== Sites Available =="
;
SITES_CNT
=
1
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment