PageRenderTime 39ms CodeModel.GetById 36ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/network/ifupdown-scripts-zg2.d/delstate

http://github.com/brinkman83/bashrc
#! | 15 lines | 9 code | 6 blank | 0 comment | 0 complexity | a5ea6ca5462eaabb421ab316a255f66b MD5 | raw file
 1#!/bin/bash
 2# $Header$
 3
 4# IFACE      = Logical interface name
 5# MODE       = { start | stop }
 6# METHOD     = manual, otherwise exit
 7
 8. /etc/network/ifupdown-scripts-zg2.d/common-functions
 9
10# only do something if interface is being stopped
11
12[ "$MODE" = "stop" ] || exit 0
13
14remove_state
15