diff options
Diffstat (limited to 'sys-process/fcron/files/fcron.init')
-rwxr-xr-x | sys-process/fcron/files/fcron.init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-process/fcron/files/fcron.init b/sys-process/fcron/files/fcron.init index 30d5e0405888..e57421a97b8f 100755 --- a/sys-process/fcron/files/fcron.init +++ b/sys-process/fcron/files/fcron.init @@ -1,20 +1,20 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/files/fcron.init,v 1.2 2007/02/13 16:33:57 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/files/fcron.init,v 1.3 2007/04/14 15:57:05 wschlich Exp $ depend() { use logger slapd mysql postgresql need clock hostname # provide the cron service if we are the main instance - if [ "${SVCNAME}" == "fcron" ]; then + if [ "${SVCNAME}" = "fcron" ]; then provide cron fi } checkconfig() { FCRON_INSTANCE=${SVCNAME##*.} - if [[ -n "${FCRON_INSTANCE}" && "${SVCNAME}" != "fcron" ]]; then + if [ -n "${FCRON_INSTANCE}" -a "${SVCNAME}" != "fcron" ]; then FCRON_CONF=/etc/fcron/fcron.${FCRON_INSTANCE}.conf else FCRON_CONF=/etc/fcron/fcron.conf |