Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
35658749
Commit
35658749
authored
Aug 07, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rooter.sh: add vzlist support
parent
ff5e0279
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
rooter.sh
rooter/rooter.sh
+5
-0
No files found.
rooter/rooter.sh
View file @
35658749
...
@@ -17,6 +17,7 @@ case "$1" in
...
@@ -17,6 +17,7 @@ case "$1" in
echo
"Welcome to Etersoft rooter!"
echo
"Welcome to Etersoft rooter!"
echo
"Available commands:"
echo
"Available commands:"
echo
" get pubkey USER"
echo
" get pubkey USER"
echo
" vzlist HOST"
#echo " allow USER HOST [VEID]"
#echo " allow USER HOST [VEID]"
#echo " list hosts"
#echo " list hosts"
#echo " list host veid"
#echo " list host veid"
...
@@ -34,6 +35,10 @@ case "$1" in
...
@@ -34,6 +35,10 @@ case "$1" in
;;
;;
esac
esac
;;
;;
"vzlist"
)
shift
sudo
/home/rooter/bin/get_vzlist.sh
"
$1
"
;;
*
)
*
)
echo
"Etersoft rooter (c) 2015"
echo
"Etersoft rooter (c) 2015"
echo
"Unknown command
$*
"
echo
"Unknown command
$*
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment