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
689d9ff1
Commit
689d9ff1
authored
Jan 12, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add total_shutdown.sh
parent
cea8d9cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
total_shutdown.sh
etersoft/total_shutdown.sh
+21
-0
No files found.
etersoft/total_shutdown.sh
0 → 100755
View file @
689d9ff1
#!/bin/sh
for
i
in
lav lin-test nun snail ant multi asu space1 clients host03
do
/usr/bin/ssh
-o
ConnectTimeout
=
12
$i
/sbin/poweroff 2>&1 |logger
done
sleep
30
for
i
in
vbox cellar
/usr/bin/ssh
-o
ConnectTimeout
=
12
$i
/sbin/poweroff 2>&1 |logger
done
sleep
30
for
i
in
windsor azbykar
/usr/bin/ssh
-o
ConnectTimeout
=
12
$i
/sbin/poweroff 2>&1 |logger
done
/sbin/poweroff
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