File: delstate

package info (click to toggle)
ifupdown-scripts-zg2 0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 500 kB
  • ctags: 76
  • sloc: sh: 3,606; makefile: 35
file content (15 lines) | stat: -rwxr-xr-x 286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# $Header$

# IFACE      = Logical interface name
# MODE       = { start | stop }
# METHOD     = manual, otherwise exit

. /etc/network/ifupdown-scripts-zg2.d/common-functions

# only do something if interface is being stopped

[ "$MODE" = "stop" ] || exit 0

remove_state