Skip to content

Commit

Permalink
Banner: Remove dependency on sshd service (#21264)
Browse files Browse the repository at this point in the history
- Why I did it
Fixes #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 mssonicbld committed Dec 25, 2024
1 parent d8afbcd commit 400d56f
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 400d56f

Please sign in to comment.