View Single Post
Old 08-27-2015, 10:11 AM   #568
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Since the introduction of usb_enable_id_like_nickel.sh, there should not be any need for the user to edit usb_enable.sh.

By the way, the user can still overwrite files or add files to KSM without telnet, ssh or similar. However it is less comfortabel then it was with previous versions. This is the price for having a part of KSM on the system partiton. One has to copy the respective files with its whole directory structure into .../kbmenu_user/sysmirror (create it, if it does not yet exist), and then select "tools" > "ksm diverse.msh" > "copy sysmirror to sys.sh".

In order to replace /adds/kbmenu/scripts_intern/usb/usb_enable.sh by your modified version, create .../kbmenu_user/sysmirror/adds/kbmenu/scripts_intern/usb/usb_enable.sh, and select "copy sysmirror to sys.sh". In this way you can copy any files to the system partition.

Of course, you can also pack your files into a KoboRoot.tgz and use the update mechanism.

Last edited by tshering; 08-27-2015 at 10:18 AM.
tshering is offline   Reply With Quote