C
chrwei
Guest
with version 1.5 downloaded yesterday, when i ifup a network device i get
Usage: vzarp-ifup DEVICE
run-parts: /etc/network/if-up.d/vzifup-post exited with return code 1
looking at the script, it expect the interface name on the command line, but that's not how if-up.d scripts work. the script is included and inherits the callers variables, the interface name is in the $IFACE.
replacing $1 with $IFACE fixes the error.
Usage: vzarp-ifup DEVICE
run-parts: /etc/network/if-up.d/vzifup-post exited with return code 1
looking at the script, it expect the interface name on the command line, but that's not how if-up.d scripts work. the script is included and inherits the callers variables, the interface name is in the $IFACE.
replacing $1 with $IFACE fixes the error.