change pasted scrapeboard code to ibitfit
This commit is contained in:
parent
808a78bad1
commit
3a1532101f
|
@ -180,10 +180,10 @@ class ElectricSieve(Game):
|
||||||
# Raspbian Lite
|
# Raspbian Lite
|
||||||
if pygame.key.get_mods() & pygame.KMOD_SHIFT:
|
if pygame.key.get_mods() & pygame.KMOD_SHIFT:
|
||||||
try:
|
try:
|
||||||
subprocess.run(["sudo", "systemctl", "stop", "scrapeboard"])
|
subprocess.run(["sudo", "systemctl", "stop", "ibitfit"])
|
||||||
print("Killing with permanent stop sent to systemd scrapeboard service")
|
print("Killing with permanent stop sent to systemd ibitfit.service")
|
||||||
except:
|
except:
|
||||||
print("No scrapeboard system service detected, so permanent quit either failed or was unnecessary")
|
print("No iBitFit system service detected, so permanent quit either failed or was unnecessary")
|
||||||
super().end(event)
|
super().end(event)
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
|
|
Loading…
Reference in New Issue