Some infos update
This commit is contained in:
parent
8504eafa48
commit
080ac737fe
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
declare -r DEV="${1}"
|
declare -r DEV="${1}"
|
||||||
declare STARTDATE="$(date)"
|
declare STARTDATE=""
|
||||||
|
|
||||||
show_help() {
|
show_help() {
|
||||||
echo "ddwipe dev (/dev/sdX)"
|
echo "ddwipe dev (/dev/sdX)"
|
||||||
@ -37,6 +37,7 @@ confirm_wipe() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wipe_dev() {
|
wipe_dev() {
|
||||||
|
STARTDATE="$(date)"
|
||||||
echo "Begin wiping device ${1}"
|
echo "Begin wiping device ${1}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Start date :"
|
echo "Start date :"
|
||||||
|
Loading…
Reference in New Issue
Block a user