Magellan Linux

Diff of /alx-src/branches/alxconf-060/plugins/remserial/plugin.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3502 by niro, Fri Aug 26 11:51:09 2011 UTC revision 3503 by niro, Thu Apr 19 12:17:20 2012 UTC
# Line 8  PLUGIN_MENUITEM_PARAM="" Line 8  PLUGIN_MENUITEM_PARAM=""
8  PLUGIN_MENUITEM_WORKDIR=""  PLUGIN_MENUITEM_WORKDIR=""
9  PLUGIN_MENUITEM_ICON=""  PLUGIN_MENUITEM_ICON=""
10    
11    PLUGIN_AUTOSTART=0
12    
13  install_plugin()  install_plugin()
14  {  {
15   if [[ -z $(magequery -n remserial) ]]   if [[ -z $(magequery -n remserial) ]]
# Line 43  create_menuitem() Line 45  create_menuitem()
45   echo "PLUGIN_MENUITEM_ICON=\"${PLUGIN_MENUITEM_ICON}\""   echo "PLUGIN_MENUITEM_ICON=\"${PLUGIN_MENUITEM_ICON}\""
46  }  }
47    
48    autostart_plugin()
49    {
50     echo "PLUGIN_AUTOSTART=\"${PLUGIN_AUTOSTART}\""
51    }
52    
53  uninstall_plugin()  uninstall_plugin()
54  {  {
55   # remove from runlevels   # remove from runlevels
# Line 66  case $1 in Line 73  case $1 in
73   setup) setup_plugin ;;   setup) setup_plugin ;;
74   menuitem) create_menuitem ;;   menuitem) create_menuitem ;;
75   uninstall) uninstall_plugin ;;   uninstall) uninstall_plugin ;;
76     autostart) autostart_plugin ;;
77   *) echo "PLUGIN '${PLUGIN_NAME}': unkown operation '$1'" ;;   *) echo "PLUGIN '${PLUGIN_NAME}': unkown operation '$1'" ;;
78  esac  esac

Legend:
Removed from v.3502  
changed lines
  Added in v.3503