Last change
on this file since 3858 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
299 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | # parameters:
|
---|
3 | # $1: interface
|
---|
4 | # $2: state
|
---|
5 |
|
---|
6 | if test -d "/var/service/dhcp_$1"; then
|
---|
7 | if test x"$2" = x"down"; then
|
---|
8 | echo "Downing /var/service/dhcp_$1"
|
---|
9 | sv d "/var/service/dhcp_$1"
|
---|
10 | fi
|
---|
11 | if test x"$2" = x"up"; then
|
---|
12 | echo "Upping /var/service/dhcp_$1"
|
---|
13 | sv u "/var/service/dhcp_$1"
|
---|
14 | fi
|
---|
15 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.