From 7ff8a66fd6b0cad46405ecd0a505d3e6cde5dde4 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 6 Aug 2008 08:35:09 +0000 Subject: Formatting, unification of plugin stage3 scripts ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1965 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/example/XX_example.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'os-plugins/plugins/example/XX_example.sh') diff --git a/os-plugins/plugins/example/XX_example.sh b/os-plugins/plugins/example/XX_example.sh index dedcfc97..18f2e47d 100644 --- a/os-plugins/plugins/example/XX_example.sh +++ b/os-plugins/plugins/example/XX_example.sh @@ -1,4 +1,10 @@ -#!/bin/ash +# Copyright (c) 2008 - OpenSLX GmbH +# +# This program/file is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING +# +# If you have any feedback please consult http://openslx.org/feedback and +# send your feedback to feedback@openslx.org # # stage3 part of 'example' plugin - the runlevel script # @@ -23,6 +29,9 @@ # # if you have any questions regarding the use of this file, please drop a mail # to: ot@openslx.com, or join the IRC-channel '#openslx' (on freenode). +# +# script is included from init via the "." load function - thus it has all +# variables and functions available if [ -e /initramfs/plugin-conf/example.conf ]; then . /initramfs/plugin-conf/example.conf -- cgit v1.2.3-55-g7522