Can I automate Mobile Terminal?

Breebreebran31

New member
Jan 17, 2014
2
0
0
Visit site
I'm really lazy, and I have a jailbroken iphone.
So whenever my wifi is going slow or messing up, instead of getting up and unplugging/plugging back in the router, I just ssh into it from mobile terminal and then I reboot it.
But now I'm even lazier. I use shortcuts so I don't even have to type anything. I just click a shortcut for su, then su password, then ssh 192.168.1.1, then my router password, then reboot.

But now I want to be even lazier.
Can I create a script that will achieve all of this so then I only have to run one command from terminal that will do this whole operation for me?
 

Just_Me_D

Ambassador Team Leader, Senior Moderator
Moderator
Jan 8, 2012
59,709
632
113
Visit site
Wouldn't running the one command cause you to actually have to do something? :)
 

Trending Posts

Members online

Forum statistics

Threads
260,011
Messages
1,765,306
Members
441,221
Latest member
CØR