LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   How do you boot Puppy Linux Slacko into the command line? (https://www.linuxquestions.org/questions/puppy-71/how-do-you-boot-puppy-linux-slacko-into-the-command-line-4175449897/)

haziz 02-12-2013 06:36 PM

How do you boot Puppy Linux Slacko into the command line?
 
How do you boot Puppy Linux Slacko (or Precise or Wary) into the command line? I wish to startx only if I need it. Unfortunately it does not seem to copy Slackware's traditional /etc/inittab runlevel methodology.

Karl Godt 02-25-2013 08:21 AM

On frugal installs the pfix=nox is what you want to achieve this .
For full installs i have that code for the /etc/profile file :

Code:

else
 #want to go straight into X on bootup only...
 #if [ ! -f /tmp/bootcnt.txt ];then
  #touch /tmp/bootcnt.txt
  # aplay -N /usr/share/audio/bark.au
  if [ -z "`cat /proc/cmdline | grep -i 'nox'`" ]; then
  exec xwin
 fi



All times are GMT -5. The time now is 05:56 AM.