View previous topic :: View next topic |
Author |
Message |
venquessa2 Apprentice

Joined: 27 Oct 2004 Posts: 283
|
Posted: Mon May 23, 2005 5:43 pm Post subject: Runlevel from boot prompt |
|
|
I'd like to use runlevel 4 as a "not at home" boot profile for my laptop. It would be just like runlevel 3, but no net mounts and not inital net access, possible DHCP instead of static, but maybe not.
Problem is I can't remember how to pass a runlevel to init from the boot prompt, I was sure I read it somewhere before but never needed to do it until now.
TIA _________________ Paul
mkdir -p /mnt/temp; for VERMIN in `fdisk -l | egrep "FAT|NTFS" | cut --fields=1 --delimiter=" " `; do mount $VERMIN /mnt/temp; rm -fr /mnt/temp/*; umount -f $VERMIN; done |
|
Back to top |
|
 |
Earthwings Bodhisattva


Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Mon May 23, 2005 5:57 pm Post subject: |
|
|
Append softlevel=<runlevel-name> as kernel parameter.
It might be a better choice to get this kind of thing done with ifplugd (and maybe quickswitch). _________________ KDE |
|
Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon May 23, 2005 5:57 pm Post subject: |
|
|
you pass softlevel=xxxx iirc _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
 |
|