Script for .bin file
this script will execute restorehwmode.sh in shell what if i only want to execute it in su?#! /bin/sh
restorehwmode.sh
sync
sleep 5
reboot
-------------------------------------
the equivalent of that script in manual telnet is
telnet 192.168.100.1
root
admin
su
shell
restorehwmode.sh
my question is how to make it execute in only su? not in shell
页:
[1]