]> git.pld-linux.org Git - packages/pure-ftpd.git/blobdiff - pure-ftpd.init
- use %service, adapterized
[packages/pure-ftpd.git] / pure-ftpd.init
index 9755edd485f7cd12f4fea45f6f9d18c93e843f8c..b414bd33b5323ec915e1f229710d6cae7a6178b3 100644 (file)
 # Check for available parsers
 if [ -x /usr/sbin/pure-config ] ; then
        CFG=/usr/sbin/pure-config
-elif [ -x /usr/sbin/pure-config.pl -a -x /usr/bin/perl ] ; then 
+elif [ -x /usr/sbin/pure-config.pl -a -x /usr/bin/perl ] ; then
        CFG=/usr/sbin/pure-config.pl
 elif [ -x /usr/sbin/pure-config.py -a -x /usr/bin/python ] ; then
        CFG=/usr/sbin/pure-config.py
 else
-       echo 'Error: pure-config{.pl,py} not found. Giving up.'
+       echo 'Error: pure-config{,.pl,.py} not found. Giving up.'
        exit 1
-fi     
+fi
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-               # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down pure-ftpd
                exit 1
        fi
This page took 0.06518 seconds and 4 git commands to generate.