From d750f9e1d6194b2a4f1f4ca58b3e0959938333d6 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 23 Mar 2007 14:43:47 +0000 Subject: * inserted correct copyright header git-svn-id: http://svn.openslx.org/svn/openslx/trunk@813 95ad53e4-c205-0410-b2fa-d234c58c8868 --- lib/OpenSLX/Basics.pm | 19 +++++++++++++------ lib/OpenSLX/Translations/de.pm | 13 ++++++++++--- lib/OpenSLX/Translations/posix.pm | 13 ++++++++++--- lib/OpenSLX/Utils.pm | 13 ++++++++++--- 4 files changed, 43 insertions(+), 15 deletions(-) (limited to 'lib') diff --git a/lib/OpenSLX/Basics.pm b/lib/OpenSLX/Basics.pm index c519a50d..ebd253f7 100644 --- a/lib/OpenSLX/Basics.pm +++ b/lib/OpenSLX/Basics.pm @@ -1,9 +1,16 @@ -# Basics.pm - provides basic functionality of the OpenSLX config-db. +# Copyright (c) 2006, 2007 - OpenSLX GmbH # -# (c) 2006 - OpenSLX.com +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING # -# Oliver Tappe +# If you have any feedback please consult http://openslx.org/feedback and +# send your suggestions, praise, or complaints to feedback@openslx.org # +# General information about OpenSLX can be found at http://openslx.org/ +# ----------------------------------------------------------------------------- +# Basics.pm +# - provides basic functionality of the OpenSLX config-db. +# ----------------------------------------------------------------------------- package OpenSLX::Basics; use strict; @@ -15,7 +22,7 @@ $VERSION = 1.01; @EXPORT = qw( &openslxInit %openslxConfig %cmdlineConfig - &_tr &trInit + &_tr &trInit &die &executeInSubprocess &slxsystem &vlog ); @@ -290,9 +297,9 @@ sub executeInSubprocess # parent... # ...pass on interrupt- and terminate-signals to child... - local $SIG{INT} + local $SIG{INT} = sub { kill 'INT', $pid; waitpid($pid, 0); exit $? }; - local $SIG{TERM} + local $SIG{TERM} = sub { kill 'TERM', $pid; waitpid($pid, 0); exit $? }; # ...and wait for child to do its work: waitpid($pid, 0); diff --git a/lib/OpenSLX/Translations/de.pm b/lib/OpenSLX/Translations/de.pm index 6176799c..081e44e4 100644 --- a/lib/OpenSLX/Translations/de.pm +++ b/lib/OpenSLX/Translations/de.pm @@ -1,9 +1,16 @@ -# de.pm - OpenSLX-translations for the German language. +# Copyright (c) 2006, 2007 - OpenSLX GmbH # -# (c) 2006 - OpenSLX.com +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING # -# Oliver Tappe +# If you have any feedback please consult http://openslx.org/feedback and +# send your suggestions, praise, or complaints to feedback@openslx.org # +# General information about OpenSLX can be found at http://openslx.org/ +# ----------------------------------------------------------------------------- +# de.pm +# - OpenSLX-translations for the German language. +# ----------------------------------------------------------------------------- package OpenSLX::Translations::de; use strict; diff --git a/lib/OpenSLX/Translations/posix.pm b/lib/OpenSLX/Translations/posix.pm index 7ca1f433..e1199f47 100644 --- a/lib/OpenSLX/Translations/posix.pm +++ b/lib/OpenSLX/Translations/posix.pm @@ -1,9 +1,16 @@ -# posix.pm - OpenSLX-translations for the posix locale (English language). +# Copyright (c) 2006, 2007 - OpenSLX GmbH # -# (c) 2006 - OpenSLX.com +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING # -# Oliver Tappe +# If you have any feedback please consult http://openslx.org/feedback and +# send your suggestions, praise, or complaints to feedback@openslx.org # +# General information about OpenSLX can be found at http://openslx.org/ +# ----------------------------------------------------------------------------- +# posix.pm +# - OpenSLX-translations for the posix locale (English language). +# ----------------------------------------------------------------------------- package OpenSLX::Translations::posix; use strict; diff --git a/lib/OpenSLX/Utils.pm b/lib/OpenSLX/Utils.pm index 833aa591..611d6eb8 100644 --- a/lib/OpenSLX/Utils.pm +++ b/lib/OpenSLX/Utils.pm @@ -1,9 +1,16 @@ -# Utils.pm - provides utility functions for OpenSLX +# Copyright (c) 2006, 2007 - OpenSLX GmbH # -# (c) 2006 - OpenSLX.com +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING # -# Oliver Tappe +# If you have any feedback please consult http://openslx.org/feedback and +# send your suggestions, praise, or complaints to feedback@openslx.org # +# General information about OpenSLX can be found at http://openslx.org/ +# ----------------------------------------------------------------------------- +# Utils.pm +# - provides utility functions for OpenSLX +# ----------------------------------------------------------------------------- package OpenSLX::Utils; use strict; -- cgit v1.2.3-55-g7522