/etc/dhcp/dhclient-enter-hooks.d/zentyal-dhcp-enter is in zentyal-network 2.3.13+quantal1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | set_router() {
ebox_routers="$new_routers"
unset new_routers
}
# Do nothing if network module is disbled
if /etc/init.d/zentyal network status; then
case $reason in
BOUND)
set_router
;;
REBOOT|RENEW|REBIND|TIMEOUT)
set_router
;;
*)
;;
esac
fi
|