updatedd: be more human-friendly :)
authorOliver Ertl <oliver@ertl-net.net>
Fri, 14 Sep 2007 14:09:40 +0000 (14:09 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Fri, 14 Sep 2007 14:09:40 +0000 (14:09 +0000)
SVN-Revision: 8777

net/updatedd/files/updatedd.config
net/updatedd/files/updatedd.init

index 72b1c9e9728495c6a355050b76538b574cda8acd..f2e9e91356499a341c95cec033702c24631c391c 100644 (file)
@@ -1,6 +1,6 @@
 config updatedd
         option service     ''
-        option user        ''
-        option passwd      ''
+        option username    ''
+        option password    ''
         option host        ''
         option update      '0'
index 6bd4bdee0de73523bfd6eaf2eb4b6693eb662bd4..7b6a9b14bc5709c365165ced862171b9147322e8 100644 (file)
@@ -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
        }
 }