Fixing a syntax error in pakfire's functions.sh.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1042 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-11-01 12:26:27 +00:00
parent e61afce93c
commit 70e5098c5e
2 changed files with 6 additions and 1 deletions

View File

@@ -144,6 +144,7 @@
* libxml2-2.6.26
* libxslt-1.1.17
* linux-2.6.16.55
* linux-2.6.16.56
* linux-atm-2.4.1
* linux-libc-headers-2.6.12.0
* linuxigd-0.95

View File

@@ -80,7 +80,11 @@ start_service() {
done
if [ -e "/etc/init.d/${1}" ]; then
(sleep ${DELAY} && /etc/init.d/${1} start) ${BACKGROUND}
if [ -n "${BACKGROUND}" ]; then
(sleep ${DELAY} && /etc/init.d/${1} start) &
else
sleep ${DELAY} && /etc/init.d/${1} start
fi
fi
}