diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2017-09-13 12:39:56 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2017-09-13 12:39:56 +0300 |
commit | 153419227010216f50debe95a5077e3ccfbdd101 (patch) | |
tree | e06ff19f0ee36d68b1ced0d7cb07c119ab460790 /class | |
parent | b88be690c7393075e5b24f8af245fd7197ee584e (diff) | |
download | fai-153419227010216f50debe95a5077e3ccfbdd101.tar.gz |
not needed
Diffstat (limited to 'class')
-rwxr-xr-x | class/10-base-classes | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/class/10-base-classes b/class/10-base-classes deleted file mode 100755 index eed0846..0000000 --- a/class/10-base-classes +++ /dev/null @@ -1,16 +0,0 @@ -#! /bin/bash - -# Echo architecture and OS name in uppercase. Do NOT remove these two lines. -uname -s | tr '[:lower:]' '[:upper:]' -[ -x "`which dpkg`" ] && dpkg --print-architecture | tr a-z A-Z - -# determin if we are a DHCP client or not -# count the : chars in the argument of ip= -n="${ip//[^:]}" -if [[ $ip =~ ^(on|any|dhcp)$ ]]; then - echo DHCPC -elif [ ${#n} -lt 6 ]; then - echo DHCPC -fi - -exit 0 |