# Start daemons
for daemon in "${DAEMONS[@]}"; do
- if [ "$daemon" = "${daemon#!}" ]; then
- if [ "$daemon" = "${daemon#@}" ]; then
+ if [[ $daemon = ${daemon#!} ]]; then
+ if [[ $daemon = ${daemon#@} ]]; then
start_daemon $daemon
else
start_daemon_bkgd ${daemon:1}
@@ -22,7 +22,7 @@ for daemon in "${DAEMONS[@]}"; do
fi
done
-if [ -x /etc/rc.local ]; then
+if [[ -x /etc/rc.local ]]; then
/etc/rc.local
fi