blob: d806a2602e3cb9ddb5458aaca93df7d3f788f0b2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh -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
|