KiyooMTP 发表于 2024-12-30 19:27:29

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]
查看完整版本: Script for .bin file