fw-upgrade.sh 121 B

1234567891011
  1. #!/bin/bash
  2. RE=$2
  3. sleep 2
  4. [[ $RE == 'on' ]] && RE='-n' || RE=''
  5. sysupgrade $RE -q $1 ##> /tmp/fw-upgrade.log
  6. exit 0