source: lliurex-smart/trunk/fuentes/lliurex-smart.install/usr/share/n4d/python-plugins/SmartFix.py @ 6722

Last change on this file since 6722 was 6722, checked in by hectorgh, 20 months ago

adding n4d plugin to execute smart-fixer on every boot

File size: 218 bytes
Line 
1import os
2
3class SmartFix:
4       
5        def __init__(self):
6               
7                self.command="/usr/sbin/lliurex-smart-path-fixer"
8               
9        #def init
10       
11        def startup(self,options):
12               
13                if options["boot"]:
14                        os.system(self.command)
15       
16#class SmartFix
Note: See TracBrowser for help on using the repository browser.