Skip to content

Commit 9c2b2f4

Browse files
authored
Update disk_sanitizer.sh
switched to bash from sh and changed to echo -e
1 parent e38fe14 commit 9c2b2f4

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

disk_sanitizer.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,18 @@ echo "CTRL-C to Interrupt ..."
230230

231231
sleep 65
232232
#The Bell
233-
echo "\07 \07 \07 \07 \07 \07 \07 \07"
233+
echo -e "\07"; sleep .2
234+
echo -e "\07"; sleep .2
235+
echo -e "\07"; sleep .4
236+
echo -e "\07"; sleep .4
237+
echo -e "\07"; sleep .4
238+
echo -e "\07"; sleep .4
239+
echo -e "\07"; sleep .2
240+
echo -e "\07"; sleep .2
241+
echo -e "\07"; sleep .2
234242
for i in 10 9 8 7 6 5 4 3 2 1; do
235243
sleep 1
236-
echo "PURGING ALL DATA in $i ... \r\c"
244+
echo -e "PURGING ALL DATA in $i ... \r\c"
237245
sleep 1
238246
done
239247
#debug

0 commit comments

Comments
 (0)