/[smecontribs]/rpms/smeserver-pxe/contribs10/smeserver-pxe-0.1-12087-smeserver-pxe-update.patch
ViewVC logotype

Annotation of /rpms/smeserver-pxe/contribs10/smeserver-pxe-0.1-12087-smeserver-pxe-update.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Jul 3 04:08:34 2022 UTC (2 years, 5 months ago) by trevorb
Branch: MAIN
CVS Tags: smeserver-pxe-0_1-4_el7_sme, HEAD
add 12087-smeserver-pxe-update patch file

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed