diff --git a/unifi_reboot.py b/unifi_reboot.py index f5c23ee..942bfb1 100644 --- a/unifi_reboot.py +++ b/unifi_reboot.py @@ -6,7 +6,9 @@ import sys # File with device list: "ip user password" DEVICE_LIST = "unifi-devices.txt" LOGFILE = "unifi-reboot.log" -REBOOT_CMD = "/sbin/reboot" +#REBOOT_CMD = "/sbin/reboot" +REBOOT_CMD = "ls -al" + def log(message): timestamp = datetime.datetime.now().strftime("[%Y-%m-%d %H:%M:%S]")