Some infos update

This commit is contained in:
MatMoul 2024-05-07 02:19:19 +02:00
parent 8504eafa48
commit 080ac737fe

View File

@ -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 :"