/usr/share/fwbuilder-5.1.0.3599/configlets/linux24/verify_interfaces is in fwbuilder-common 5.1.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## -*- mode: shell-script; -*-
##
## This is the body of the shell function verify_interfaces()
{{if have_interfaces}}
echo "Verifying interfaces: {{$interfaces}}"
for i in {{$interfaces}} ; do
$IP link show "$i" > /dev/null 2>&1 || {
log "Interface $i does not exist"
exit 1
}
done
{{endif}}
|