summaryrefslogtreecommitdiff
path: root/extra/ifplugd/ifplugd-daemon
blob: e21f4afbd192b6ca86ff954e064289d3165c86fd (plain)
1
2
3
4
5
6
7
#!/bin/bash

. /etc/ifplugd/ifplugd.conf

args=ARGS_$1
[[ -z ${!args} ]] && args=$ARGS || args=${!args}
/usr/bin/ifplugd -i "$1" $args