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
bff62d42
You need to sign in or sign up before continuing.
Commit
bff62d42
authored
Feb 26, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add hard-reset.sh
parent
f21cff0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
hard-reset.sh
common/hard-reset.sh
+9
-0
No files found.
common/hard-reset.sh
0 → 100755
View file @
bff62d42
#!/bin/sh
[
"
$1
"
=
"assure"
]
||
exit
echo
1
>
/proc/sys/kernel/sysrq
echo
"Force reboot"
echo
"5 seconds pause to interrupt (use Ctrl-C)..."
sleep
5
||
exit
echo
b
>
/proc/sysrq-trigger
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