summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/wlanboot/XX_wlanboot.sh
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-01-13 20:31:08 +0100
committerDirk von Suchodoletz2009-01-13 20:31:08 +0100
commitaa6626925eff26751e156bf392256298dad07a34 (patch)
tree099f88ce68a4e3bef1cab26385d2d51e6c6c6709 /os-plugins/plugins/wlanboot/XX_wlanboot.sh
parent * test commit (diff)
downloadcore-aa6626925eff26751e156bf392256298dad07a34.tar.gz
core-aa6626925eff26751e156bf392256298dad07a34.tar.xz
core-aa6626925eff26751e156bf392256298dad07a34.zip
Adding a new plugin "wlanboot". Just first checkin - untested ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2474 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/wlanboot/XX_wlanboot.sh')
-rw-r--r--os-plugins/plugins/wlanboot/XX_wlanboot.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/os-plugins/plugins/wlanboot/XX_wlanboot.sh b/os-plugins/plugins/wlanboot/XX_wlanboot.sh
new file mode 100644
index 00000000..d8ede9c7
--- /dev/null
+++ b/os-plugins/plugins/wlanboot/XX_wlanboot.sh
@@ -0,0 +1,23 @@
+# Copyright (c) 2009 - 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
+#
+# General information about OpenSLX can be found at http://openslx.org
+#
+# stage3 part of 'wlanboot' plugin - the runlevel script
+#
+# script is included from init via the "." load function - thus it has all
+# variables and functions available
+
+if [ -e /initramfs/plugin-conf/wlanboot.conf ]; then
+ . /initramfs/plugin-conf/wlanboot.conf
+ if [ $wlanboot_active -ne 0 ]; then
+ [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'wlanboot' os-plugin ...";
+ [ $DEBUGLEVEL -gt 0 ] && echo "done with 'wlanboot' os-plugin ...";
+
+ fi
+fi