summaryrefslogtreecommitdiffstats
path: root/extra/bcm203x.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-07-28 15:26:05 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-07-28 15:26:05 +0000
commite96820efc671e4e44a4b87084ca85c7efec1fbf0 (patch)
tree2d69abbbd5b6b5b0a1ac1fad95a57d8c25e5d68e /extra/bcm203x.c
parent48c6c4bd7bef34ccac611f7f01c7d3725b40b1c1 (diff)
Also accept ACTION=register
Diffstat (limited to 'extra/bcm203x.c')
-rw-r--r--extra/bcm203x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/bcm203x.c b/extra/bcm203x.c
index b1e89179..f4c48364 100644
--- a/extra/bcm203x.c
+++ b/extra/bcm203x.c
@@ -161,7 +161,7 @@ int main(int argc, char *argv[])
action = getenv("ACTION");
device = getenv("DEVICE");
- if (!action || strcmp(action, "add"))
+ if (!action || (strcmp(action, "add") && strcmp(action, "register")))
exit(0);
openlog("bcm203x", LOG_NDELAY | LOG_PID, LOG_DAEMON);