From 8892c61223b648fc0a85d464a8d9a9538810b227 Mon Sep 17 00:00:00 2001 From: Oliver Ertl Date: Fri, 14 Sep 2007 14:09:40 +0000 Subject: [PATCH] updatedd: be more human-friendly :) SVN-Revision: 8777 --- net/updatedd/files/updatedd.config | 4 ++-- net/updatedd/files/updatedd.init | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/net/updatedd/files/updatedd.config b/net/updatedd/files/updatedd.config index 72b1c9e97..f2e9e9135 100644 --- a/net/updatedd/files/updatedd.config +++ b/net/updatedd/files/updatedd.config @@ -1,6 +1,6 @@ config updatedd option service '' - option user '' - option passwd '' + option username '' + option password '' option host '' option update '0' diff --git a/net/updatedd/files/updatedd.init b/net/updatedd/files/updatedd.init index 6bd4bdee0..7b6a9b14b 100644 --- a/net/updatedd/files/updatedd.init +++ b/net/updatedd/files/updatedd.init @@ -4,14 +4,14 @@ START=50 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 } } -- 2.30.2