Patrick Schoenfeld wrote:
So the call of ucf looks something like that:
if which ucf >/dev/null; then
ucf --purge /etc/foo.conf
fi
no, the correct one is:
if which ucf >/dev/null; then
$whatever_ucf_command /etc/foo.conf
else
rm -f /etc/foo.conf
fi
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/