Skip to content

Commit

Permalink
Merge pull request #446 from deejaypro/crankshaft-ng
Browse files Browse the repository at this point in the history
Changed path to check if the headunit got a dhcp lease
  • Loading branch information
matt2005 authored Feb 8, 2021
2 parents eff4779 + 07579b6 commit d5fffdd
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 d5fffdd

Please sign in to comment.