diff -urN smeserver-pxe-0.1.old/createlinks smeserver-pxe-0.1/createlinks --- smeserver-pxe-0.1.old/createlinks 1970-01-01 10:00:00.000000000 +1000 +++ smeserver-pxe-0.1/createlinks 2022-07-03 03:57:42.000000000 +1000 @@ -0,0 +1,14 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); +use File::Basename; +use File::Path; + +# our event specific for updating with yum without reboot +$event = 'smeserver-pxe-update'; +#add here the path to your templates needed to expand +event_templates($event, '/etc/dhcpd.conf'); +#action specific to this package +#event_link('action', $event, '30'); +#services we need to restart +event_services($event, 'dhcpd' => 'restart');