summaryrefslogtreecommitdiff
path: root/dcs8000lh-configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'dcs8000lh-configure.py')
-rwxr-xr-xdcs8000lh-configure.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/dcs8000lh-configure.py b/dcs8000lh-configure.py
index 8f223d1..fff7e9d 100755
--- a/dcs8000lh-configure.py
+++ b/dcs8000lh-configure.py
@@ -124,6 +124,7 @@ if __name__ == '__main__':
parser.add_argument("--command", help="Run command on IPCam")
parser.add_argument("--telnetd", help="Start telnet server on IPCam", action="store_true")
parser.add_argument("--lighttpd", help="Start web server on IPCam", action="store_true")
+ parser.add_argument("--unsignedfw", help="Allow unsigned firmware", action="store_true")
parser.add_argument("--attrs", help="Dump IPCam GATT characteristics", action="store_true")
parser.add_argument("-V", "--version", action="version", version="%(prog)s " + VERSION)
args = parser.parse_args()
@@ -147,6 +148,8 @@ if __name__ == '__main__':
cam.run_command("pidof telnetd||telnetd")
if args.lighttpd:
cam.run_command("/etc/rc.d/init.d/extra_lighttpd.sh start")
+ if args.unsignedfw:
+ cam.run_command("tdb set SecureFW _TrustLevel_byte=0")
if args.attrs:
cam.dumpchars()