smeserver-pxe/createlinks

15 lines
432 B
Plaintext
Raw Permalink Normal View History

#!/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');