mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
fix: enabling fstrim.timer from setup.py for updating users
This commit is contained in:
6
setup.py
6
setup.py
@ -37,7 +37,13 @@ def install_system_files():
|
|||||||
os.system("systemctl daemon-reload")
|
os.system("systemctl daemon-reload")
|
||||||
|
|
||||||
|
|
||||||
|
def installer():
|
||||||
install_system_files()
|
install_system_files()
|
||||||
|
# for people updating https://github.com/evilsocket/pwnagotchi/pull/551/files
|
||||||
|
os.system("systemctl enable fstrim.timer")
|
||||||
|
|
||||||
|
|
||||||
|
installer()
|
||||||
|
|
||||||
required = []
|
required = []
|
||||||
with open('requirements.txt') as fp:
|
with open('requirements.txt') as fp:
|
||||||
|
Reference in New Issue
Block a user