Annotation of /trunk/mkinitrd-magellan/busybox/examples/var_service/ifplugd_if/ifplugd_handler
Parent Directory
|
Revision Log
Revision 984 -
(hide annotations)
(download)
Sun May 30 11:32:42 2010 UTC (14 years ago) by niro
File size: 299 byte(s)
Sun May 30 11:32:42 2010 UTC (14 years ago) by niro
File size: 299 byte(s)
-updated to busybox-1.16.1 and enabled blkid/uuid support in default config
1 | niro | 984 | #!/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 |
Properties
Name | Value |
---|---|
svn:executable | * |