On Sun, 17 Aug 2014 13:14:27 +0100, Simon McVittie <s...@debian.org>
>if ! [ -e /etc/foo.conf ]
>then
>    echo -n "(not starting, you need to create /etc/foo.conf)"
>    return 0
>fi

if ! grep '^important-option' foo.conf;

looks like a rather common idiom.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xj2gg-0004tn...@swivel.zugschlus.de

Reply via email to