Fresh pull from upstream
[librecmc/librecmc.git] / package / network / utils / comgt / files / directip.sh
index 79b8c32c83c699d621507ddf632c8003758f754e..381bfb000075d4fdfe1d2024d3af6a1e80ee9b47 100644 (file)
@@ -27,6 +27,7 @@ proto_directip_setup() {
 
        [ -n "$ctl_device" ] && device=$ctl_device
 
+       device="$(readlink -f $device)"
        [ -e "$device" ] || {
                proto_notify_error "$interface" NO_DEVICE
                proto_set_available "$interface" 0