Skip to content

Instantly share code, notes, and snippets.

View mdklapwijk's full-sized avatar

M.D. Klapwijk mdklapwijk

View GitHub Profile
@mdklapwijk
mdklapwijk / isc-dhcp-server
Last active January 6, 2021 12:46
Customized start/stop script for isc-dhcp-server on Debian 10; this implements wildcard config loading form dhcpd.conf.d and dhcpd6.conf.d.
#!/bin/sh
### BEGIN INIT INFO
# Provides: isc-dhcp-server
# Required-Start: $remote_fs $network $syslog
# Required-Stop: $remote_fs $network $syslog
# Should-Start: $local_fs slapd $named
# Should-Stop: $local_fs slapd
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
#!/usr/bin/perl -w
# mailgraph -- an rrdtool frontend for mail statistics
# copyright (c) 2000-2007 ETH Zurich
# copyright (c) 2000-2007 David Schweikert <david@schweikert.ch>
# released under the GNU General Public License
# modifications to handle rsyslog high precision format
# copyright (c) 2018 by M.D. Klapwijk
# released under the GNU General Public License
#!/usr/bin/perl
# ntpd for observium-agent v0.1
#
# (c)2018 Marcel Klapwijk
# Please leave suggestions and bug reports at:
# - https://gist.github.com/mdklapwijk/
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
#!/usr/bin/perl
# set-guest-hypervisor-fact v0.1
#
# (c)2018 Marcel Klapwijk
# Please leave suggestions and bug reports at:
# - https://gist.github.com/mdklapwijk/
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2