The busybox version included in Nook is quite old. Updating it to a new one could be useful, for having access to both new commands and features.
The procedure to update busybox is really simple:
- download and unizp busybox (or directly from busybox site);
- (optional) to be on safe side, make a backup of current busybox binary, placed into /system/bin;
- using adb, copy new busybox executable to nook, folder /system/bin, renaming it busybox;
- change owner and permissions of new busybox file:
chmod 744 /system/bin/busybox
chown system.system /system/bin/busybox
Tip: if you add in file /init.rc the following row (about at the start of the file, where also others env variables are set):
export ENV /ash_startup_script ash
you can then create the file /ash_startup_script. In this file you can add whatever you want, that will be executed at session shell creation. In my case, for instance, i put the alias for ll, so that i don't have to define it manually each time i start a shell session:alias ll=ls -l"
No comments:
Post a Comment