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
9 command -v dpkg
>&/dev
/null
&& dpkg
--print-architecture |
tr a-z A-Z
11 # determin if we are a DHCP client or not
12 # count the : chars in the argument of ip=
14 if [[ $ip =~ ^
(on|any|dhcp
)$
]]; then
16 elif [ ${#n} -lt 6 ]; then