Last change
on this file since 2725 was 2725, checked in by Bruno Cornec, 14 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
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.