diff options
author | Oliver Tappe | 2007-11-04 14:46:45 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-11-04 14:46:45 +0100 |
commit | b2f8fede0274016f7a73a20232ccb23f888a5f5e (patch) | |
tree | f176100f03bc7ce1ea4548277c7b5d32f3d72999 /os-plugins/plugins/Example/XX_Example.sh | |
parent | * started to work on group-support (unfinished!) (diff) | |
download | core-b2f8fede0274016f7a73a20232ccb23f888a5f5e.tar.gz core-b2f8fede0274016f7a73a20232ccb23f888a5f5e.tar.xz core-b2f8fede0274016f7a73a20232ccb23f888a5f5e.zip |
* cosmetical changes
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1405 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/Example/XX_Example.sh')
-rw-r--r-- | os-plugins/plugins/Example/XX_Example.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/os-plugins/plugins/Example/XX_Example.sh b/os-plugins/plugins/Example/XX_Example.sh index 88c991e8..6c1bc8ad 100644 --- a/os-plugins/plugins/Example/XX_Example.sh +++ b/os-plugins/plugins/Example/XX_Example.sh @@ -28,11 +28,16 @@ if ! [ -e /initramfs/plugin-conf/Example.conf ]; then exit 1 fi -echo "executing the 'Example' os-plugin ..."; # for this example plugin, we simply take a filename from the configuration ... . /initramfs/plugin-conf/Example.conf -# ... and cat that file: +if ! [ -n $active]; then + exit 0 +fi + +echo "executing the 'Example' os-plugin ..."; + +# ... and cat that file (output the smiley): cat /mnt/opt/openslx/plugin-repo/Example/$preferred_side echo "done with 'Example' os-plugin ..."; |