Last change
on this file since 2510 was 1485, checked in by Bruno Cornec, 12 years ago |
- Adds a Plugin module to support plugin management
- cbusterize now works with both -s and -p options
- One plugin example added (dhcpd)
-cb script started. Not working now
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1466] | 1 | #
|
---|
| 2 | # Creates common environment for distributions
|
---|
| 3 | #
|
---|
| 4 | # $Id$
|
---|
| 5 | #
|
---|
| 6 | #
|
---|
| 7 | package CasparBuster::Env;
|
---|
| 8 |
|
---|
| 9 | use strict;
|
---|
| 10 |
|
---|
| 11 | # Global vars
|
---|
| 12 | # Inherit from the "Exporter" module which handles exporting functions.
|
---|
| 13 | #
|
---|
| 14 | use vars qw($VERSION $REVISION @ISA @EXPORT);
|
---|
| 15 | use Exporter;
|
---|
| 16 | #
|
---|
| 17 | # Export, by default, all the functions into the namespace of
|
---|
| 18 | # any code which uses this module.
|
---|
| 19 |
|
---|
| 20 | our @ISA = qw(Exporter);
|
---|
[1485] | 21 | our @EXPORT = qw(cb_env_conffile cb_env_confdir);
|
---|
[1466] | 22 |
|
---|
| 23 | =pod
|
---|
| 24 |
|
---|
| 25 | =head1 NAME
|
---|
| 26 |
|
---|
| 27 | CasparBuster::Env - module dealing with CasparBuster environment
|
---|
| 28 |
|
---|
| 29 | =head1 DESCRIPTION
|
---|
| 30 |
|
---|
| 31 | This modules provides functions to allow the setup of the CasparBuster environment
|
---|
| 32 |
|
---|
| 33 | =head1 SYNOPSIS
|
---|
| 34 |
|
---|
| 35 | use CasparBuster::Env;
|
---|
| 36 | my $conffile = cb_env_conffile();
|
---|
[1485] | 37 | my $confdir = cb_env_confdir();
|
---|
[1466] | 38 |
|
---|
| 39 | =head1 USAGE
|
---|
| 40 |
|
---|
| 41 | =over 4
|
---|
| 42 |
|
---|
| 43 | =item B<cb_env_conffile>
|
---|
| 44 |
|
---|
| 45 | This function returns the mandatory configuration file used for CasparBuster
|
---|
| 46 |
|
---|
| 47 | =cut
|
---|
| 48 |
|
---|
| 49 | sub cb_env_conffile {
|
---|
| 50 | return("CCCC/cb.conf");
|
---|
| 51 | }
|
---|
[1485] | 52 | =item B<cb_env_conffile>
|
---|
| 53 |
|
---|
| 54 | This function returns the mandatory configuration file used for CasparBuster
|
---|
| 55 |
|
---|
| 56 | =cut
|
---|
| 57 |
|
---|
| 58 | sub cb_env_confdir {
|
---|
| 59 | return("CCCC");
|
---|
| 60 | }
|
---|
| 61 |
|
---|
| 62 | 1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.