#!/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 #--------------------------------------------------