File: ifupdown.action

package info (click to toggle)
ifplugd 0.28-19.4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,472 kB
  • sloc: ansic: 2,068; sh: 1,454; makefile: 134
file content (11 lines) | stat: -rw-r--r-- 86 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

case "$2" in
up)
	/sbin/ifup $1
	;;
down)
	/sbin/ifdown $1
	;;
esac