diff options
| author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-15 21:57:47 +0100 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-15 21:58:03 +0100 |
| commit | c07b8a4e2dab01e1c5136167b62f3cf7907d42c7 (patch) | |
| tree | 79b258adc4cb70d4ba7e198c1a6d73e95ec0fa81 /fai/config/class | |
| parent | 81d4c8b62469e31bc1739278d7d9ffa6d86d7ffc (diff) | |
| download | debian-edu-fai+itzks-c07b8a4e2dab01e1c5136167b62f3cf7907d42c7.tar.gz debian-edu-fai+itzks-c07b8a4e2dab01e1c5136167b62f3cf7907d42c7.tar.bz2 debian-edu-fai+itzks-c07b8a4e2dab01e1c5136167b62f3cf7907d42c7.zip | |
fai/config/scripts/EDU/50-cups-browsing: Assure that CreateRemoteCUPSPrinterQueues is set to 'Yes'.
Diffstat (limited to 'fai/config/class')
| -rwxr-xr-x | fai/config/class/10-base-classes | 2 | ||||
| -rwxr-xr-x | fai/config/class/20-hwdetect.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fai/config/class/10-base-classes b/fai/config/class/10-base-classes index 3d03c8f..d312a50 100755 --- a/fai/config/class/10-base-classes +++ b/fai/config/class/10-base-classes @@ -7,7 +7,7 @@ fi # 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 +command -v dpkg >&/dev/null && 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= diff --git a/fai/config/class/20-hwdetect.sh b/fai/config/class/20-hwdetect.sh index 8ba48d4..57374c8 100755 --- a/fai/config/class/20-hwdetect.sh +++ b/fai/config/class/20-hwdetect.sh @@ -20,7 +20,8 @@ for mod in $kernelmodules; do modprobe -a $mod 1>/dev/null 2>&1 done -ip ad show up | egrep -iv 'loopback|127.0.0.1|::1/128|_lft' +# show the basic information about the network interface +ip -br li show up|egrep -v ^lo; ip -br a show up|egrep -v ^lo echo $printk > /proc/sys/kernel/printk @@ -32,4 +33,3 @@ if [ "$disklist" != "$odisklist" ]; then fi save_dmesg # save new boot messages (from loading modules) - |
