/usr/bin/cipux_cat_web_configuration is in cipux-cat-web 3.4.0.3-4.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #!/usr/bin/perl -w -T
eval 'exec /usr/bin/perl -w -T -S $0 ${1+"$@"}'
if 0; # not running under some shell
# +=========================================================================+
# || cipux_cat_web_configuration ||
# || ||
# || Copyright (C) 2010 by Christian Kuelker ||
# +=========================================================================+
# ID: $Id$
# Revision: $Revision$
# Head URL: $HeadURL$
# Date: $Date$
# Source: $Source$
use strict;
use warnings;
use Carp qw(confess);
use CipUX::CAT::Web;
#use Data::Dumper;
#use English qw( -no_match_vars );
use Log::Log4perl qw(get_logger :levels);
use YAML::Any;
# debug
my $debug = 0;
if ($debug) {
Log::Log4perl::init_once('/usr/share/cipux/etc/cipux-cat-web.log4perl');
}
# extensions
my $cipux = CipUX->new();
my @ext = sort $cipux->cfg_ext();
my $ext_hr = {};
$ext_hr->{extension} = \@ext;
$cipux->out("# === CipUX (supported configuration extensions) ===\n");
print YAML::Any::Dump($ext_hr) or confess "Can not print to STDOUT!\n";
# cipux-cat-web
my $ccw = CipUX::CAT::Web->new;
my $cfg_hr = $ccw->get_cat_web_cfg();
$cipux->out("# === CipUX (scope cipux-cat-web) ===\n");
print YAML::Any::Dump($cfg_hr) or confess "Can not print to STDOUT!\n";
|