summaryrefslogtreecommitdiffstats
path: root/package/inadyn/S70inadyn
Commit message (Collapse)AuthorAgeFilesLines
* inadyn: fix init script and default config fileThomas Petazzoni2015-10-181-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit does a number of fixes to the inadyn package to make it work properly "out of the box": * inadyn is installed in /usr/sbin, not /usr/bin, so we fix the path in the init script * Use "printf" for the Starting and Stopping messages, so that the OK / FAIL stay on the same line. * Pass the -q option to the start sequence, since it's passed in the stop sequence. * Fix the configuration file to use an existing dyndns_system and avoid a failure at startup. * Use a variable called ENABLED in /etc/default/inadyn to decide whether to start the service or not. By default, it is not started, as suggested by Gustavo, and an explicit ENABLED="yes" is needed. * Store the PID file in /var/run/inadyn.pid, like we do for all other daemons. [Thomas: drop silly comment about uncommenting the alias line in the configuration file, which is already uncommented. Noticed by Yann.] Cc: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sysv init scripts: fix == bashismAndré Erdmann2014-11-111-2/+2
| | | | | | | | | | | | | | | | | test a == b is not available in e.g. dash. Command(s) used for editing: q=\[\"\'\] operand="${q}?[$]?[a-zA-Z0-9_\?]+${q}?" ## doesn't detect ${VAR} test_expr="(\[\s+${operand}\s+)==(\s+${operand}\s+\])" find . -type f -name '[SK][0-9][0-9]*' | \ xargs sed -r -e "s@${test_expr}@\1=\2@g" -i Signed-off-by: André Erdmann <dywi@mailerd.de> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysv init scripts: remove gettext invocationsAndré Erdmann2014-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | $"str" is supposed to translate str (depending on the current locale). In ash/dash/..., it cannot be expanded, so commands like echo $"Usage: $0 start|stop" are printed as '$Usage: SCRIPT start|stop' in [d]ash, and as 'Usage: SCRIPT start|stop' in bash. This patch removes the '$' in front of '"'. Command(s) used for editing: find . -type f -name '[SK][0-9][0-9]*' | \ xargs sed -r -e 's@[$](["])@\1@g' -i Signed-off-by: André Erdmann <dywi@mailerd.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* inadyn: bump to version 1.99.11Gustavo Zacarias2014-10-171-17/+18
| | | | | | | | | | | | Update initscript for the /usr/sbin -> /usr/bin change which is the default installation directory now that it's using autotools infra. Also add hash file. Make the initscript use tabs instead of spaces. Make the config file installation conditional. Now with optional gnutls support for HTTPS. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* inadyn: add package for inadyn DDNS client-updaterDavid Purdy2012-06-231-0/+35
inadyn is a DynamicDNS client/updater which works with dyndns.com, noip.com and many other DDNS providers. It is minimal in footprint and requirements, supports IP caching, multiple providers, multiple domain names, and a variety of other situations. [Peter: fixup whitespace / trailing spaces] Signed-off-by: Dave Purdy <david.c.purdy@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud