3d03c8f54a5e0274edfd4f2be241a70a0a8413ab
3 # do only execute if this is called on the client being installed. Do not use during fai-diskimage
4 if [ X
$FAI_ACTION = Xinstall
-a $do_init_tasks -eq 0 ]; then
8 # Echo architecture and OS name in uppercase. Do NOT remove these two lines.
9 uname
-s |
tr '[:lower:]' '[:upper:]'
10 [ -x "`which dpkg`" ] && dpkg
--print-architecture |
tr a-z A-Z
12 # determin if we are a DHCP client or not
13 # count the : chars in the argument of ip=
15 if [[ $ip =~ ^
(on|any|dhcp
)$
]]; then
17 elif [ ${#n} -lt 6 ]; then