initial commit of file from CVS for smeserver-pxe on Sat Sep 7 20:56:31 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 20:56:31 +10:00
parent 9449cfbf61
commit 4af109efa2
13 changed files with 182 additions and 2 deletions

14
createlinks Normal file
View File

@@ -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');