Skip to content

Commit

Permalink
Banner: Remove dependency on sshd service (sonic-net#21264)
Browse files Browse the repository at this point in the history
- Why I did it
Fixes sonic-net#19661

- How I did it
Removed the dependency on sshd service. Banner service will save the config data into the file after setting the config, so it will be available after the boot in any case

- How to verify it
Reboot the switch and wait for the serial prompt. SSH should become available after a couple of seconds.

Signed-off-by: Yevhen Fastiuk <[email protected]>
  • Loading branch information
fastiuk authored and VladimirKuk committed Jan 21, 2025
1 parent 29a9a0d commit aeaf259
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion files/image_config/bannerconfig/banner-config.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Description=Update banner config based on configdb
Requires=config-setup.service
After=config-setup.service
Before=systemd-logind.service sshd.service
BindsTo=database.service
BindsTo=sonic.target

Expand Down

0 comments on commit aeaf259

Please sign in to comment.