View Single Post
Old 07-03-2013, 01:47 AM   #48
cgm999
Enthusiast
cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.
 
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
Ken: you do not need to chmod +x (is on a vfat and mounted to add +x to all files)

[root@(none) ~]# ls -la /mnt/onboard/.kobo/KoboLauncher/
total 108
drwxr-xr-x 13 root root 4096 Jul 3 02:08 .
drwxr-xr-x 9 root root 4096 Jul 3 00:16 ..
-rwxr-xr-x 1 root root 120 Jul 3 02:58 KoboLauncher.sh
-rwxr-xr-x 1 root root 429 Jul 2 22:44 KoboLauncher.sh-old


Also as a tip, I start usbnet (which also starts dropbear sshd):

[root@(none) ~]# cat /mnt/onboard/.kobo/KoboLauncher/KoboLauncher.sh
#!/bin/sh


/mnt/onboard/.kobo/KoboLauncher/usbnet/start.sh

/mnt/onboard/.kobo/koreader/koreader_kobo.sh /mnt/onboard

[root@(none) ~]# cat /mnt/onboard/.kobo/KoboLauncher/usbnet/start.sh
#!/bin/sh

root=/mnt/onboard/.kobo/KoboLauncher/usbnet

insmod /drivers/ntx508/usb/gadget/arcotg_udc.ko
insmod /drivers/ntx508/usb/gadget/g_ether.ko

ifconfig usb0 192.168.2.101

$root/dropbear -E -r $root/host.key.rsa -d $root/host.key.dss > $root/dropbear.log 2>&1
cgm999 is offline   Reply With Quote