blob: 447b134eed0e3a0f11fb418818aac70b8a34fab1 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
# This script hooks into NetworkManager(8) via its scripts
# arguments are 'interface-name' and 'action'
#
case "$1:$2" in
*:up) exec cloud-init dhclient-hook up "$1";;
*:down) exec cloud-init dhclient-hook down "$1";;
esac
|