Last active
August 23, 2024 21:52
-
-
Save blinsay/bcfc4036cccb1cee820217fea9bd2dc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Renew the DHCP lease on your stupid UDM. Why is there no button for this? | |
# | |
# https://community.ui.com/questions/Release-WAN-ip-on-UDM-pro/182aa99e-9b8e-49e9-829f-b5c3e02b4104 | |
# https://udhcp.busybox.net/README.udhcpc | |
# | |
udhcpd_pid=$(pidof udhcpd) | |
kill -SIGUSR2 "$udhcpd_pid" | |
kill -SIGUSR1 "$udhcpd_pid" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment