5 config_get init "$1" init
6 config_get exec "$1" exec
7 config_get test "$1" test
9 [ -n "$init" ] && reload_init "$2" "$init" "$test"
10 [ -n "$exec" ] && reload_exec "$2" "$exec" "$test"
15 echo "Reloading $1... "
17 [ -n "$3" -a "$?" != "$3" ] && echo '!!! Failed to reload' $1 '!!!'
22 [ -x /etc/init.d/$2 ] && /etc/init.d/$2 enabled && {
23 echo "Reloading $1... "
24 /etc/init.d/$2 reload >/dev/null 2>&1
25 [ -n "$3" -a "$?" != "$3" ] && echo '!!! Failed to reload' $1 '!!!'
33 config_foreach apply_config $i $i