mirror of
https://github.com/sheumann/hush.git
synced 2024-08-14 11:28:58 +00:00
Removed assumptions about umask and locale. Fixed hostname tests to work even when the host has no DNS domain set. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
4 lines
82 B
Plaintext
4 lines
82 B
Plaintext
f=$(busybox hostname -f).
|
|
d=$(busybox hostname -d)
|
|
test x"${f#*.}" = x"$d${d:+.}"
|