Skip to content

Commit

Permalink
fix: enabling fstrim.timer from setup.py for updating users
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Nov 8, 2019
1 parent bf0e480 commit fcb5c87
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Expand Up @@ -37,7 +37,13 @@ def install_system_files():
os.system("systemctl daemon-reload")


install_system_files()
def installer():
install_system_files()
# for people updating https://github.com/evilsocket/pwnagotchi/pull/551/files
os.system("systemctl enable fstrim.timer")


installer()

required = []
with open('requirements.txt') as fp:
Expand Down

0 comments on commit fcb5c87

Please sign in to comment.