3 # Echo architecture and OS name in uppercase. Do NOT remove these two lines.
4 uname
-s |
tr '[:lower:]' '[:upper:]'
5 [ -x "`which dpkg`" ] && dpkg
--print-architecture |
tr a-z A-Z
7 # determin if we are a DHCP client or not
8 # count the : chars in the argument of ip=
10 if [[ $ip =~ ^
(on|any|dhcp
)$
]]; then
12 elif [ ${#n} -lt 6 ]; then