this script will execute restorehwmode.sh in shell what if i only want to execute it in su?' A" P( {+ m' ]) L- g1 Q
#! /bin/sh 3 }2 Q D0 _9 A) s ! O7 e" A6 a8 y5 ~1 qrestorehwmode.sh & h% Z; B# B" x8 c) J. psync$ ]& F1 [0 V* ~$ J7 [2 o8 l9 y
sleep 5 # w3 S) ]: k g; u G; x0 C4 Dreboot + K: ^& C1 J$ J6 z! s* C-------------------------------------7 M( j7 u5 B- x: J$ \& P
the equivalent of that script in manual telnet is 2 z2 \2 u. Q) |6 W. W; a0 d4 F & N. j0 X% k2 ]" X- |8 ~telnet 192.168.100.1! K3 ?" h! h5 t' m
root ' ~8 W- V3 h/ t2 o0 `/ v. R% ~admin7 \0 ~8 {- s8 d5 Q
0 F5 E! t s9 Z
su " U _' G" ?1 [' ^/ Y; P# S2 ?6 e( r- R
shell 4 K/ m/ d$ G: a2 J& V2 v/ q5 c& O6 m5 D: `' [; G i3 B: ~
restorehwmode.sh ]9 [$ G& Q2 ~: {' s* G" I ; m( L3 f3 R1 k" k: K0 fmy question is how to make it execute in only su? not in shell ! v" e; ]7 A8 i2 i1 ] o