]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/networking/dhcpcd.exe
2 ########################################################################
5 # Description : DHCP Client Script
7 # Authors : Michael Tremer - mitch@ipfire.org
13 ########################################################################
15 eval $
(/usr
/local
/bin
/readhash
"$1")
18 logger
-p local0.info
-t dhcpcd.exe
[$$
] "${INTERFACE} has been configured with old IP=${IPADDR}"
19 touch /var
/ipfire
/red
/active
22 logger
-p local0.info
-t dhcpcd.exe
[$$
] "${INTERFACE} has been configured with new IP=${IPADDR}"
23 [ -e "/var/ipfire/red/active" ] ||
touch /var
/ipfire
/red
/active
26 logger
-p local0.info
-t dhcpcd.exe
[$$
] "${INTERFACE} has been brought down"
27 rm -f /var
/ipfire
/red
/active