Use variable substitition instead of command basename to get the device
name in ocs-onthefly.