generated from smedev/Template-for-SMEServer-Contribs-Package
- Refactor filenames, routes etc to bring it into line with other modules, v11 to reflect SME11 [SME: 13274]
35 lines
1.2 KiB
Perl
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
|
|
#--------------------------------------------------
|