i need help so i have tablet pc rooted and i edit build.prop add some tweaks but i want add scripts to int.d folder do i must have installed kernel or not and how add scripts to stock rom or offical rom just rooted i have ICS 4.0.4
please tell me how add scripts without kernel or any other applications or softwares i just want add scripts for battery,lagfix etc......
I have a folder, we'll call it /scripts/, that contains subfolders for a number of different scripts (let's say /scripts/file_export, /scripts/record_ingest, /scripts/stats). Inside these folders are all kinds of things...shell scripts, perl scripts, ruby scripts, config files, etc. Some have their own directory structure, some have everything in their root.
I kept pm-utils on my machine for reference to the scripts for a bit. But I put either symlinks or one line scripts in /usr/local/bin rebirecting pm-suspend and such to the appropriate systemd commands.Though, now that I am looking, I really haven't ported any of those scripts from pm-utils to systemd, as I have not seen the need for any of it (yet?)
I am getting the following error after running make while upgrading my kernel 22.214.171.124 to new kernel 3.9:
make: Nothing to be done for `all'.
make: Nothing to be done for `relocs'.
Finally got round to converting my wipe scripts over to the GS4.
Kernel wipe is very basic (as I don't know of any GS4 kernel-specific files/folders) but the rest are pretty much as per the GS2 (apart from ROM-specific file/folder removal)
All scripts are Beta, so expect a few niggles and bugs, and as always, recommend a CWM backup beforehand.
At the end of the man page for sudo, there's the following remark:
Running shell scripts via sudo can expose the same kernel bugs that
make setuid shell scripts unsafe on some operating systems (if your OS
has a /dev/fd/ directory, setuid shell scripts are generally safe).
Pretty much everything in that paragraph is obscure to me.