Skip to content

Commit

Permalink
Changed path to check if the headunit got a dhcp lease
Browse files Browse the repository at this point in the history
  • Loading branch information
deejaypro committed Feb 8, 2021
1 parent eff4779 commit 07579b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function update_network() {
COUNTER=0
#check for 30 seconds for dhcp lease assigned
while [ $COUNTER -lt 30 ]; do
if [ -f /var/run/dhcpcd/resolv.conf/wlan0.dhcp ]; then
if [ -f /var/run/resolvconf/interfaces/wlan0.dhcp ]; then
echo "[${CYAN}${BOLD} INFO ${RESET}] *******************************************************" >/dev/tty3
echo "[${CYAN}${BOLD} INFO ${RESET}] DHCP-EVENT: $SSID got a lease" >/dev/tty3
echo "[${CYAN}${BOLD} INFO ${RESET}] *******************************************************" >/dev/tty3
Expand Down

0 comments on commit 07579b6

Please sign in to comment.