File: 01-test

package info (click to toggle)
dhcpcd5 7.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,932 kB
  • sloc: ansic: 29,556; sh: 1,829; makefile: 318
file content (9 lines) | stat: -rw-r--r-- 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# Echo the interface flags, reason and message options

if [ "$reason" = "TEST" ]; then
	set | grep \
	    "^\(interface\|pid\|reason\|protocol\|profile\|skip_hooks\)=" | sort
	set | grep "^if\(carrier\|flags\|mtu\|wireless\|ssid\)=" | sort
	set | grep "^\(new_\|old_\|nd[0-9]*_\)" | sort
	exit 0
fi