PKGBUILDs/extra/dhcp/dhcp.install

16 lines
322 B
Text
Raw Normal View History

2009-10-10 02:23:22 +00:00
# arg 1: the new package version
post_install() {
[ -f var/state/dhcp/dhcpd.leases ] || : >var/state/dhcp/dhcpd.leases
echo "If dhcpd doesn' start ensure the ipv6 kernel module is loaded."
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
op=$1
shift
$op $*