diff options
Diffstat (limited to 'modules/one.uselect')
-rw-r--r-- | modules/one.uselect | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/modules/one.uselect b/modules/one.uselect deleted file mode 100644 index 91e3709..0000000 --- a/modules/one.uselect +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# one.uselect mephx.x@gmail.com - -module one { - description "Example Module description" - version "0.2" - author "mephx.x@gmail.com" -} one - -user action moo { - description "Example Module will moo for any user" - parameters "<integer>" - usage "<integer> - number of moos" - type runnable - file moo.bash { - #!/bin/bash - do_moo() { - if [ -z $1 ] - then - # print options - echo "1 - moo one time" - echo "2 - moo two times" - echo "3 - moo three times" - echo "x - moo x times" - else - for((i=0;$i<$1;i=$(($i+1))));do - echo moo - done - fi - } - do_moo $@ - } moo.bash -} moo - -system action foo { - description "Example Simple symlinking Action" - usage "moo <option>" - type sym - sym /usr/moo /usr/share/ moo-(\w+) /bin/moo -} foo - - - |