Skip to content

Commit

Permalink
Add back the option f to the reboot script (sonic-net#3492)
Browse files Browse the repository at this point in the history
- What I did
Add back the support to call reboot -f
The support for this option was accidentally removed as part of this PR sonic-net#3203
The same PR for 202311 doesn't have this mistake - sonic-net#3204

- How I did it

- How to verify it
Call reboot -f
  • Loading branch information
DavidZagury authored and mssonicbld committed Sep 6, 2024
1 parent 70e43b9 commit 41f8c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/reboot
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function check_conflict_boot_in_fw_update()

function parse_options()
{
while getopts "h?v" opt; do
while getopts "h?vf" opt; do
case ${opt} in
h|\? )
show_help_and_exit
Expand Down

0 comments on commit 41f8c57

Please sign in to comment.