diff options
author | Joachim Tingvold <joachim@tingvold.com> | 2015-03-21 18:45:16 +0100 |
---|---|---|
committer | Joachim Tingvold <joachim@tingvold.com> | 2015-03-21 18:45:16 +0100 |
commit | 6c6d3763980179ef02554c2f4b0afb3065262e7b (patch) | |
tree | d16e4bc4ecb8cdee10bd9850629f6d3997029414 /tools/make-dhcpd-include.pl | |
parent | d5c0e6ac02bd4bb1832434ef3fa502a21ac48432 (diff) |
Move rest of the bootstrap-files.
Diffstat (limited to 'tools/make-dhcpd-include.pl')
-rwxr-xr-x | tools/make-dhcpd-include.pl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/make-dhcpd-include.pl b/tools/make-dhcpd-include.pl deleted file mode 100755 index ded5551..0000000 --- a/tools/make-dhcpd-include.pl +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/perl -I /root/tgmanage -use strict; -my $base = "/etc"; -$base = $ARGV[0] if $#ARGV > -1; -$base .= "/" if not $base =~ m/\/$/ and not $base eq ""; - -my $dhcpd_base = $base . "dhcp/"; -my $includeconfig = $dhcpd_base . "generated-include.conf"; - -my $glob = $dhcpd_base . "conf.d/*.conf"; -my @configs = glob($glob); - -open CONF, ">" . $includeconfig or die ( $! . " " . $includeconfig); -foreach my $config ( @configs ) -{ - print CONF "include \"" . $config . "\";\n"; -} -close CONF; |