iface=${zsv_name#*.} cond() { zsv_check_ifup $iface } run=( dhcpcd --nobackground ) args=( $iface ) configfile=/etc/dhcpcd.conf zsv_run_dhcpcd() { if [[ -n $configfile ]]; then args+=( --config $configfile ) restart_files+=( $configfile ) fi zsv_generic } # vim: ft=zsh noet ts=4 sts=4 sw=4