cleanup
This commit is contained in:
parent
0fd9dc3736
commit
3425fe3f80
0
additional/.gitignore
vendored
0
additional/.gitignore
vendored
43
createlinks
43
createlinks
@ -1,43 +0,0 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
use esmith::Build::Backup qw(:all);
|
||||
|
||||
# our event specific for updating with yum without reboot
|
||||
$event = 'xtables-addons-update';
|
||||
#add here the path to your templates needed to expand
|
||||
#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
|
||||
|
||||
# Maybe need ths in here as well:
|
||||
# /etc/dar/DailyBackup.dcf - if backup requested
|
||||
|
||||
foreach my $file (qw(
|
||||
/etc/systemd/system-preset/49-koozali.preset
|
||||
))
|
||||
{
|
||||
templates2events( $file, $event );
|
||||
};
|
||||
#action needed in case we have a systemd unit
|
||||
event_link('systemd-default', $event, '10');
|
||||
event_link('systemd-reload', $event, '50');
|
||||
|
||||
#services we might need to restart
|
||||
#event_services($event, 'xxxx' => 'restart', 'yyyy' => 'restart');
|
||||
|
||||
#Backup contrib files
|
||||
# backup_includes("xtables-addons", qw(
|
||||
# files(s) to be backed up
|
||||
#));
|
||||
|
||||
#Other possible entries:
|
||||
#Server manager entry
|
||||
#panel_link("xtables-addons", 'manager');
|
||||
#Events to xtables-addons
|
||||
#$event = 'xtables-addons-xtables-addons';
|
||||
# safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/xtables-addons");
|
||||
# templates2events("/etc/xtables-addons/xtables-addons.conf", $event);
|
||||
|
||||
|
||||
|
||||
|
||||
|
0
root/.gitignore
vendored
0
root/.gitignore
vendored
Loading…
Reference in New Issue
Block a user