mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
0
builder/data/root/client_secrets.json
Normal file
0
builder/data/root/client_secrets.json
Normal file
0
builder/data/root/settings.yaml
Normal file
0
builder/data/root/settings.yaml
Normal file
@ -51,7 +51,7 @@ class GdriveSync(plugins.Plugin):
|
||||
self.backup = False
|
||||
|
||||
try:
|
||||
gauth = GoogleAuth(settings_file="settings.yaml")
|
||||
gauth = GoogleAuth(settings_file="/root/settings.yaml")
|
||||
gauth.Authorize()
|
||||
|
||||
# Create GoogleDrive instance
|
||||
|
3
setup.py
3
setup.py
@ -11,7 +11,8 @@ import re
|
||||
def install_file(source_filename, dest_filename):
|
||||
# do not overwrite network configuration if it exists already
|
||||
# https://github.com/evilsocket/pwnagotchi/issues/483
|
||||
if dest_filename.startswith('/etc/network/interfaces.d/') and os.path.exists(dest_filename):
|
||||
if (dest_filename.startswith('/etc/network/interfaces.d/') or dest_filename.startswith('/root/')
|
||||
and os.path.exists(dest_filename)):
|
||||
print("%s exists, skipping ..." % dest_filename)
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user