summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/example/XX_example.sh
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-06 10:35:09 +0200
committerDirk von Suchodoletz2008-08-06 10:35:09 +0200
commit7ff8a66fd6b0cad46405ecd0a505d3e6cde5dde4 (patch)
treef734ebe52eb0bda56faccd0b3c9911a63b027a4b /os-plugins/plugins/example/XX_example.sh
parentSmall dirty bug in XX_vmware.sh fixed (-p is unknown to testmkd) (diff)
downloadcore-7ff8a66fd6b0cad46405ecd0a505d3e6cde5dde4.tar.gz
core-7ff8a66fd6b0cad46405ecd0a505d3e6cde5dde4.tar.xz
core-7ff8a66fd6b0cad46405ecd0a505d3e6cde5dde4.zip
Formatting, unification of plugin stage3 scripts ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1965 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/example/XX_example.sh')
-rw-r--r--os-plugins/plugins/example/XX_example.sh11
1 files changed, 10 insertions, 1 deletions
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