Is it possible to create empty file in android source code with init rc script like we create folder. mkdir /tmp creates folder but touch /tmp/test doesn't do anything.
pls help
Is it possible to create empty file in android source code with init rc script like we create folder. mkdir /tmp creates folder but touch /tmp/test doesn't do anything.
pls help
the 'write' or 'copy' command works.
but please make ensure the commands are added after the filesystems are mounted, for example, at the end of "on post-fs-data"
on post-fs-data
...
write /data/non-empty-file 0
...
copy /dev/null /data/empty-file