1
0
mirror of https://github.com/rancher/os.git synced 2025-09-17 07:30:42 +00:00
Files
os/images/01-base/dhcpcd.enter-hook

7 lines
250 B
Plaintext
Raw Normal View History

#!/bin/bash
echo "DHCPCD: $interface $reason" &>> /var/log/dhcpcd.debug.log
echo "$(date)" &>> /var/log/dhcpcd.debug.log
set | sed -ne 's/^new_//p' | sort &>> /var/log/dhcpcd.debug.log
echo "--------------------------" &>> /var/log/dhcpcd.debug.log