Nice work nhedgehog!
More convenient than ssh and nano.
Presume this is a mistype though:
/mnt/secure/su cp -f /ebrmain/config/device.cfg.gen /mnt/ext1/device.cfg.gen
.org >> $logname
FYI... ssh from the Windows command prompt is easy, just type:
ssh root@ip-adress
(Grab the IP address from the "Rooted device settings" section.)