LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   how to start minicom at every boot on text mode ubuntu (http://www.linuxquestions.org/questions/programming-9/how-to-start-minicom-at-every-boot-on-text-mode-ubuntu-4175478712/)

rohaanembedded 09-27-2013 02:28 AM

how to start minicom at every boot on text mode ubuntu
 
Dear sir,

i am running ubuntu in the text mode that i have done successfully and in have skipped the logIn and passward sucessfully(Auto Login), but at the time of every boot i want my minicom to get open rather the text mode.

i tried shell script like,

Code:

#!/bin/bash

echo "admin123" | sudo -S minicom

and ran this script in .bashrc
like
Code:

./st.sh
now on every boot minicom gets open but then after it get closed.
dont know why its getting closed please help me.

Thanks & Regards
rohaan

NevemTeve 09-27-2013 08:57 AM

Good Sir!

If you want to run minicom boot time, add this to your /etc/rc.local:

Code:

openvt minicom <parameters> &


All times are GMT -5. The time now is 10:11 PM.