Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ssd-eraser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ITS
ssd-eraser
Commits
5a6e8eb3
Commit
5a6e8eb3
authored
6 years ago
by
efer
Browse files
Options
Downloads
Patches
Plain Diff
change sleep to 10 sec
parent
896d0647
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ssd-eraser
+2
-2
2 additions, 2 deletions
ssd-eraser
with
2 additions
and
2 deletions
ssd-eraser
+
2
−
2
View file @
5a6e8eb3
...
@@ -111,7 +111,7 @@ def erase_menu(disk):
...
@@ -111,7 +111,7 @@ def erase_menu(disk):
run
(
cmd
)
run
(
cmd
)
print
(
YELLOW
+
"
\n
Ready to secure erase.
"
+
WHITE
)
print
(
YELLOW
+
"
\n
Ready to secure erase.
"
+
WHITE
)
print
(
"
Computer will enter sleep-mode and proceed after
5
sec.
\n
"
)
print
(
"
Computer will enter sleep-mode and proceed after
10
sec.
\n
"
)
print
(
"
Continue?
\n
"
)
print
(
"
Continue?
\n
"
)
print
(
"
y) Yes
"
)
print
(
"
y) Yes
"
)
print
(
"
c) Cancel
"
)
print
(
"
c) Cancel
"
)
...
@@ -142,7 +142,7 @@ def confirm_select(choice, disk):
...
@@ -142,7 +142,7 @@ def confirm_select(choice, disk):
return
return
def
unfreeze
():
def
unfreeze
():
cmd
=
[
'
rtcwake
'
,
'
-m
'
,
'
mem
'
,
'
-s
'
,
'
5
'
]
cmd
=
[
'
rtcwake
'
,
'
-m
'
,
'
mem
'
,
'
-s
'
,
'
10
'
]
run
(
cmd
)
run
(
cmd
)
def
erase
(
disk
):
def
erase
(
disk
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment