only add the nandupgrade method when /sbin/upgraded exists