summaryrefslogtreecommitdiff
path: root/examples/var_service/dhcpd_if/w_log
blob: dba76c69b2789e904a35ad121921416f38f5a2c4 (plain)
1
2
3
4
#!/bin/sh

cd log/logdir
watch -n1 'w=`ttysize w`; h=`ttysize h`; tail -$((h-3)) current 2>&1 | cut -b0-$((w-2))'