runscript="/tmp/.runscript_$USER" myscript="/tmp/.myscript_$$" if [ -f $runscript ] then mv $runscript $myscript sh $myscript rm $myscript sleep 10 kill $PPIDfi
mv $runscript $myscript sh $myscript rm $myscript sleep 10 kill $PPID
#!/bin/sh # # Wired ethernet start # echo sudo /home/user/startEth0 > /tmp/.runscript_user osso-xterm