Previously I used this from the forums from 2014
But this now seems not to work, is there an updated version I can use ?
Reboot code:
Private Out, Err As StringBuilder
Out.Initialize
Err.Initialize
File.WriteString(Common.rp.GetSafeDirDefaultExternal(""), "reboot.sh", "su -c reboot")
p.Shell("sh", Array As String(File.Combine(Common.rp.GetSafeDirDefaultExternal(""), "reboot.sh")), Out, Err)
But this now seems not to work, is there an updated version I can use ?