Skip to content

Commit

Permalink
set loopback multicast flag at boot
Browse files Browse the repository at this point in the history
  • Loading branch information
ka9q committed Jan 21, 2025
1 parent 196fbb8 commit e881ca2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions service/set_lo_multicast.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=Enable multicast on loopback interface
After=network.target

[Service]
ExecStart=/usr/local/bin/set_lo_multicast.sh
Type=oneshot
RemainAfterExit=true

[Install]
WantedBy=multi-user.target
2 changes: 2 additions & 0 deletions set_lo_multicast.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
ip link set dev lo multicast on

0 comments on commit e881ca2

Please sign in to comment.