diff options
author | Bastian Wissler | 2008-03-18 15:53:09 +0100 |
---|---|---|
committer | Bastian Wissler | 2008-03-18 15:53:09 +0100 |
commit | 17c48c0a1dd32c65336b27139d36f62368240514 (patch) | |
tree | eb11896f03e2ffd6b03c071622691e88ccdbe73b /os-plugins/plugins/vmchooser/XX_vmchooser.sh | |
parent | * Heavily worked at OSPlugin::Engine and 'desktop'-plugin. Support for stage1 (diff) | |
download | core-17c48c0a1dd32c65336b27139d36f62368240514.tar.gz core-17c48c0a1dd32c65336b27139d36f62368240514.tar.xz core-17c48c0a1dd32c65336b27139d36f62368240514.zip |
Changes to vmchooser-plugin, import of binary
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1651 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmchooser/XX_vmchooser.sh')
-rw-r--r-- | os-plugins/plugins/vmchooser/XX_vmchooser.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh new file mode 100644 index 00000000..0f9521b8 --- /dev/null +++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh @@ -0,0 +1,15 @@ + +CONFFILE="/initramfs/plugin-conf/vmchooser.conf" + +if [ -e $CONFFILE ]; then + . $CONFFILE + if [ $vmchooser_active -ne 0 ]; then + [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'example' os-plugin ..."; + + # for this example plugin, we simply take a filename from the + # configuration and cat that file (output the smiley): + cat /mnt/opt/openslx/plugin-repo/example/$preferred_side + + [ $DEBUGLEVEL -gt 0 ] && echo "done with 'example' os-plugin ..."; + fi +fi
\ No newline at end of file |