source: npl/internetserver/dhcp_conf/root/etc/postinst.d/post.dhcp @ ebc5ae5

gcc484ntopperl-5.22
Last change on this file since ebc5ae5 was ebc5ae5, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

upgraded dhcpd to 4.3.6 for better ipv6 support

  • Property mode set to 100644
File size: 302 bytes
Line 
1#!/bin/bash
2
3#first time installation?
4if [ `ls /var/log/packages/dhcp-* 2>/dev/null|wc -l` == "1" ]; then
5        #make sure dhcpd is down by first time installation
6        touch /service/dhcpd/down
7        svcstop /service/dhcpd/
8fi
9
10#no longer supported:
11sed 's/ddns-update-style ad-hoc;//' -i /etc/dhcpd.conf
12
13
14exit 0
Note: See TracBrowser for help on using the repository browser.