Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by jay_1025@Apr 14 2006, 07:21 PM hello all
i want to edit rc file before rebuild kernel that can't find rc file in ~/root/etc dir.
i don't like to excute "ifconfig" or "inetd" command every time under the uclinux.
can i add a rc file in ~/root/etc dir?
on uclinux : ~/bin/login
i don't know uclibic login's account and "password".
how to know my account and password ?
because i don't login to use my uclinux os every time . so , i want to creat it..
how to creat a account on uclinux os?
thanks in advance !
jay
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14369)
--- quote end ---
--- Quote End --- There are many ways to add init tasks. you can add simple init command into etc/inittab, just like the lo init. you can add a line in inittab to run etc/rc . you can uncomment the line contains /etc/init.d/rcS in inittab . then ~/rootfs/etc/init.d/rcS will be executed during linux init. the default rcS will run each Sxxxxxx task. the account and passwd file are etc/passwd and etc/shadow . the simple inittab from ~/download, does not use login, it call /bin/sh directly.