File: hotplug.hotplug-net.init

package info (click to toggle)
hotplug 0.0.20040329-26
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 480 kB
  • ctags: 22
  • sloc: sh: 652; makefile: 183
file content (21 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -e
#
# nethotplug	manage Debian-specific network interfaces state files
#

case "$1" in
    start)
	: > /etc/hotplug/.run/net.enable
	;;
    stop)
	if [ -e /etc/hotplug/.run/net.enable ]; then
	    rm -f /etc/hotplug/.run/net.enable
	fi
	;;
  restart|force-reload)
	;;
    *)
	echo "Usage: $0 {start|stop|restart|force-reload}" >&2
	exit 1
	;;
esac