initial commit of file from CVS for smeserver-pxe

This commit is contained in:
Trevor Batley
2023-02-26 15:55:49 +11:00
commit 7c5d8cb0df
18 changed files with 1316 additions and 0 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');