source:
llxcfg/trunk/fuentes/debian/llxcfg-runtime.llxcfg-interface.upstart
@
96
Last change on this file since 96 was 96, checked in by , 5 years ago | |
---|---|
File size: 427 bytes |
Line | |
---|---|
1 | # llxcfg-interface |
2 | |
3 | description "wait until INTERFACE configuration is complete" |
4 | author "Luis Antonio Garcia Gisbert <garcia_luigis@gva.es>" |
5 | |
6 | start on ( llxnet-start ) |
7 | stop on ( net-device-up IFACE=$IFACE or llxnet-stop IFACE=$IFACE or llxnet-stop-all ) |
8 | |
9 | export IFACE |
10 | export RUNFILE |
11 | instance $IFACE |
12 | |
13 | post-stop script |
14 | [ -z "$RUNFILE" ] || echo "llxcfg-interface: STOP $IFACE $(date -R)" > $RUNFILE |
15 | end script |
16 |
Note: See TracBrowser
for help on using the repository browser.