24 lines
433 B
Python
24 lines
433 B
Python
#! /usr/bin/python
|
|
|
|
# To change this template, choose Tools | Templates
|
|
# and open the template in the editor.
|
|
|
|
__author__="bjschuma"
|
|
__date__ ="$Jan 20, 2010 6:42:45 PM$"
|
|
|
|
from bt import plugin
|
|
from bt.signal import emit
|
|
|
|
|
|
class Plugin(plugin.Plugin):
|
|
def __init__(self):
|
|
plugin.Plugin.__init__(self)
|
|
self.help = "This plugin begins the shutdown routine"
|
|
self.usage = "exit"
|
|
|
|
|
|
def run(self,args=None):
|
|
emit("scion-end")
|
|
|
|
|