blob: 5b9f413c8d03edcb2df395b66ced5a8d9ad14ebd (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash -e
echo
while true; do
read -p "Do you wish to include your system configuration with this report (hp-check -r)? " yn
case $yn in
[Yy]* ) /usr/bin/hp-check -t -r >&3 2>&3; break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done
|