tag:
type: txt
help: Set loopback interface
allowed: echo "lo"
syntax:expression: exec "\
	if [ !-d /sys/class/net/$VAR(@) ]; then \
		echo \"loopback interface $VAR(@) does not exist\"; \
		exit 1; \
	elif [ $(cat /sys/class/net/$VAR(@)/type) -ne 772 ]; then \
		echo \"interface $VAR(@) is not a loopback interface\"; \
		exit 1; \
	fi"

update: sudo ip link set $VAR(@) up
