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

Last change on this file was 0c5671f, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

letsencrypt update and renamed to certbot

  • Property mode set to 100755
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.