scripts/update-cmd.pl: set device up before adding routes/addresses