No changes between revisions
/Modules/PowerSupply/SUPERCAP01A/SW/SUPERCAP.py |
---|
18,6 → 18,7 |
if oldstav == 0 and stav == 0: |
subprocess.call("shutdown -P 0", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
exit(0) |
else: |
print "power is OK." |
/Modules/PowerSupply/SUPERCAP01A/SW/start.sh |
---|
0,0 → 1,6 |
#!/bin/bash |
cd /home/odroid/repos/CLOCKMOT01A/ |
if ! pidof -x ./SUPERCAP.py > /dev/null; then |
./SUPERCAP.py & |
fi |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |