diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-03 23:43:44 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-03 23:43:44 +0200 |
commit | 095ddf7669a05b52839ccbfd2c324de718241747 (patch) | |
tree | 61fe4384e08985b5a217f9d4456da3e51875f606 /examples/var_service/dhcpd_if/w_log | |
parent | 7f0ebbc69ed14b2f35e8bc62b03612b94e270955 (diff) | |
download | busybox-w32-095ddf7669a05b52839ccbfd2c324de718241747.tar.gz busybox-w32-095ddf7669a05b52839ccbfd2c324de718241747.tar.bz2 busybox-w32-095ddf7669a05b52839ccbfd2c324de718241747.zip |
examples: add example of a DHCP server
As usual, by multiplying directories - "dhcpd_eth0", "dhcpd_wlan1"
you can run many servers on different interfaces.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rwxr-xr-x | examples/var_service/dhcpd_if/w_log | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/var_service/dhcpd_if/w_log b/examples/var_service/dhcpd_if/w_log new file mode 100755 index 000000000..dba76c69b --- /dev/null +++ b/examples/var_service/dhcpd_if/w_log | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | cd log/logdir | ||
4 | watch -n1 'w=`ttysize w`; h=`ttysize h`; tail -$((h-3)) current 2>&1 | cut -b0-$((w-2))' | ||