SHA256
1
0
forked from pool/hdparm
hdparm/wiper-warn.diff

17 lines
628 B
Diff
Raw Normal View History

Index: hdparm-9.27/wiper-2.3/wiper.sh
===================================================================
--- hdparm-9.27.orig/wiper-2.3/wiper.sh
+++ hdparm-9.27/wiper-2.3/wiper.sh
@@ -42,8 +42,11 @@ function find_prog(){
}
echo
echo "${0##*/}: Linux SATA SSD TRIM utility, version $VERSION, by Mark Lord."
+echo "${0##*/}: This tool is DANGEROUS! Please read and understand"
+echo "${0##*/}: /usr/share/doc/packages/hdparm/README.wiper"
+echo "${0##*/}: before going any further."
## Ensure we have most of the necessary utilities available before trying to proceed:
##
hash -r ## Refresh bash's cached PATH entries