You can kill this bash process, like other processes. However, init immediately resumes it - nothing happens.
To disable the process, you need to edit / etc / inittab and comment on this line. To report init about the change, you should send a SIGHUP to init: kill -HUP pid-of-init. (I think pid-of-init is always 1).
If you need your bash connected to ttyS1, in some cases you may need to specify certain runlevels at which init should start with bash.
Hope this answer helps ... (see man inittabfor more information)
source
share