mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user