summaryrefslogtreecommitdiff
path: root/tools/naptr-eduroam.sh
Commit message (Collapse)AuthorAgeFilesLines
* Don't treat exit 10 from dynamic scripts differently from any other non-zero ↵Linus Nordberg2012-04-121-1/+1
| | | | | | | | | | | code. clientwr() should treat the dynamic lookup as a failure and will not be any happier to know that the exact error was that it didn't resolv. The script can do whatever logging is wanted. That said, this commit also makes the scripts exit with 10 in order to signal failure.
* Use built-in echo rather than /bin/echo.Linus Nordberg2012-04-121-5/+5
| | | | `-e' to /bin/echo isn't portable. The BSD's lacks it for instance.
* Make dynamic-resolve scripts in tools/ sort numerically.Linus Nordberg2012-04-121-4/+4
| | | | Spotted by Paul Dekkers. Closes RADSECPROXY-39.
* Stop resolver scripts from signalling "not found".Linus Nordberg2012-02-181-1/+1
| | | | This triggers a bug in radsecproxy. Don't use it for now.
* A DynamicLookupCommand exiting with 10 is treated like an empty server stanza.Linus Nordberg2011-10-081-1/+1
| | | | | | | | | This way a script can signal "not found". The naptr-eduroam.sh and radsec-dynsrv.sh scripts are changed to behave like this. Closes RADSECPROXY-22.
* Fix typos, spelling and whitespace in tools/naptr-eduroam.sh.Linus Nordberg2011-07-011-15/+15
| | | | Also, change `test' to '['.
* (tools/naptr-eduroam.sh): Use /bin/sh rather than bash.Linus Nordberg2011-05-311-8/+8
| | | | | | | | | | Not all systems have bash (esp. not in /bin) and some people argue that /bin/sh should be less unsafe due to less code, lower complexity and being around for longer time. Fixes: - /bin/sh builtin echo doesn't have `-e' -- use /bin/echo - /bin/sh builtin test ([) doesn't understand `==' -- use `='
* Reindent tools/naptr-eduroam.sh.Linus Nordberg2011-05-311-33/+34
|
* Create tools/ directory and move shell scripts there.Linus Nordberg2010-05-281-0/+72