2025-10-31 18:45:25 +01:00
|
|
|
#!/usr/bin/perl -w
|
2025-11-04 12:54:36 +02:00
|
|
|
# This script creates the symlinks needed by this RPM
|
|
|
|
|
# Specific support exists to create symlinks within e-smith web "panels"
|
|
|
|
|
# and for links from named "events" directories into the "actions" directory
|
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
2025-10-31 18:45:25 +01:00
|
|
|
|
|
|
|
|
|
2025-11-04 12:54:36 +02:00
|
|
|
#--------------------------------------------------
|
|
|
|
|
# functions for manager panel
|
|
|
|
|
#--------------------------------------------------
|
|
|
|
|
my $panel = "manager";
|
2025-10-31 18:45:25 +01:00
|
|
|
|
2025-11-05 10:21:04 +00:00
|
|
|
panel_link("pfhandle", $panel);
|
2025-10-31 18:45:25 +01:00
|
|
|
|
2025-11-04 12:54:36 +02:00
|
|
|
#--------------------------------------------------
|
|
|
|
|
# actions for console-save event:
|
|
|
|
|
#--------------------------------------------------
|
2025-10-31 18:45:25 +01:00
|
|
|
|
2025-11-04 12:54:36 +02:00
|
|
|
#--------------------------------------------------
|
|
|
|
|
# actions for smeserver-pfhandle-update event:
|
|
|
|
|
#--------------------------------------------------
|
2025-10-31 18:45:25 +01:00
|
|
|
|
2025-11-04 12:54:36 +02:00
|
|
|
my $event = 'smeserver-pfhandle-update';
|
2025-10-31 18:45:25 +01:00
|
|
|
|
2025-11-04 12:54:36 +02:00
|
|
|
safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/smanager");
|
2025-10-31 18:45:25 +01:00
|
|
|
|
2025-11-05 10:21:04 +00:00
|
|
|
#No longer needed - dnf SME plugin does this for you.
|
|
|
|
|
#event_link('navigation2-conf', "$event", '80');
|
|
|
|
|
#event_link('routes2-conf', "$event", '80');
|
|
|
|
|
#event_link('locales2-conf', "$event", '80');
|
2025-10-31 18:45:25 +01:00
|
|
|
|
2025-11-04 12:54:36 +02:00
|
|
|
#--------------------------------------------------
|
|
|
|
|
# The End
|
|
|
|
|
#--------------------------------------------------
|