summaryrefslogtreecommitdiff
path: root/package/ez-ipupdate/patches/patch-example-dyndns_conf
blob: 08d4ed42b7913a6c7b6fc61dfc621b8e3c16118c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$Id$
--- ez-ipupdate-3.0.11b8.orig/example-dyndns.conf	Sat Nov 18 23:01:49 2000
+++ ez-ipupdate-3.0.11b8/example-dyndns.conf	Tue Jul 31 12:33:10 2007
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ez-ipupdate -c
+#!/usr/sbin/ez-ipupdate -c
 #
 # example config file for ez-ipupdate
 #
@@ -12,14 +12,9 @@ host=mydomain.whatever.com
 interface=eth1
 max-interval=2073600
 
-# please create this file and ensure that the user that ez-ipupdate is running
-# as has write permissions to it then uncomment this line, if you don't your
-# dyndns account will probably get banned. if you run ez-ipupdate as root (bad
-# idea, use "run-as-user") then you can just uncomment this line.
-#cache-file=/etc/ez-ipupdate.cache.eth1
-
-# for the mean time we'll just use a cache file in the temp directory
-cache-file=/tmp/ez-ipupdate.cache
+# if you don't use a cache file your dyndns account will probably get banned.
+run-as-user=ez-ipupd
+cache-file=/var/cache/ez-ipupdate/default-cache
 
 # uncomment this once you have everything working how you want and you are
 # ready to have ez-ipupdate running in the background all the time. to stop it