parent
cee553a6dd
commit
c3b066c147
@ -0,0 +1,10 @@ |
|||||||
|
#!/bin/sh -e |
||||||
|
|
||||||
|
command -v getconf >/dev/null || exit 0 |
||||||
|
|
||||||
|
val=$(getconf HOST_NAME_MAX 2>/dev/null) |
||||||
|
|
||||||
|
if test -n "${val}" -a "${val}" != 'undefined' |
||||||
|
then |
||||||
|
echo "${val}" |
||||||
|
fi |
Loading…
Reference in new issue