From: olli Date: Fri, 14 Sep 2007 14:09:40 +0000 (+0000) Subject: updatedd: be more human-friendly :) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=d2946278f55ccf1bc492f1d8861df1fd17dfce89;p=packages.git updatedd: be more human-friendly :) git-svn-id: svn://svn.openwrt.org/openwrt/packages@8777 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 } }