This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PhantomJS script to reboot a Huawei B315 modem | |
// | |
// Author: Jonathan Hoskin / 2017-09-02 | |
// Twitter: @jhossnz | |
// Github: https://github.com/jonathanhoskin | |
// | |
// Requires PhantomJS ~ 2.1.1 | |
// | |
// Enter your own modem details here | |
var username = 'admin'; |