Files
smeserver-pfhandle/createlinks
Brian Read 16598ff52b * Wed Nov 05 2025 Brian Read <brianr@koozali.org> 11.0-2.sme
- Refactor filenames, routes etc to bring it into line with other modules, v11 to reflect SME11 [SME: 13274]
2025-11-05 10:21:04 +00:00

35 lines
1.2 KiB
Perl

#!/usr/bin/perl -w
# 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);
#--------------------------------------------------
# functions for manager panel
#--------------------------------------------------
my $panel = "manager";
panel_link("pfhandle", $panel);
#--------------------------------------------------
# actions for console-save event:
#--------------------------------------------------
#--------------------------------------------------
# actions for smeserver-pfhandle-update event:
#--------------------------------------------------
my $event = 'smeserver-pfhandle-update';
safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/smanager");
#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');
#--------------------------------------------------
# The End
#--------------------------------------------------