initial commit of file from CVS for smeserver-pxe on Sat Sep 7 20:56:31 AEST 2024
This commit is contained in:
14
createlinks
Normal file
14
createlinks
Normal 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');
|
Reference in New Issue
Block a user