start_service () {
local section="$1"
- config_get service "$section" service
- config_get user "$section" user
- config_get passwd "$section" passwd
- config_get host "$section" host
- config_get update "$section" update
+ config_get service "$section" service
+ config_get username "$section" username
+ config_get password "$section" password
+ config_get host "$section" host
+ config_get update "$section" update
[ "$update" = 1 ] && {
- /usr/bin/updatedd -Y $service -- $user:$passwd $host
+ /usr/bin/updatedd -Y $service -- $username:$password $host
}
}