Feel free to experiment here, after the four dashes below. Please do not create new pages without any meaningful content just to try it out!
You may want to open HelpOnEditing in a new window or tab while you edit.
Formatting
italic bold typewriter
backtick typewriter (configurable)
bigger smaller
preformatted some more and some more lines too
Linking
http://moinmoin.wikiwikiweb.de/ [http://www.python.org/ Python]
Image Link
Smileys
Alert
Lists
Bullet
- first
- nested and numbered
- numbered lists are renumbered
- second
- third blockquote
- deeper
Glossary
- Term
- Definition
Drawing
drawing:mytest
Heading 1
Heading 2
Heading 3
Heading 4
Runlevels
Upstart should support allowing the user to select the default runlevel from the kernel command line. The following script, which is designed for Ubuntu 8.04 (Hardy Heron), allows upstart to set the runlevel based on kernel command line parameters:
# rc - runlevel compatibility # # This task guesses what the "default runlevel" should be and starts the # appropriate script. # # From the kernel command line, specify a desired runlevel by # writing "init" followed by the runlevel number. For example, you would # do this for entering runlevel 3: # kernel /boot/vmlinuz root=/dev/sda1 ro init 3 start on stopped rcS script runlevel --reboot || true RL="$(sed -ne 's/.*init \([2-5S]\).*/\1/p' /proc/cmdline || true)" if grep -q -w -- "-s\|single\|S" /proc/cmdline; then telinit S elif [ -n "$RL" ]; then telinit $RL elif [ -r /etc/inittab ]; then RL="$(sed -n -e "/^id:[0-9]*:initdefault:/{s/^id://;s/:.*//;p}" /etc/inittab || true)" if [ -n "$RL" ]; then telinit $RL else telinit 2 fi else telinit 2 fi end script # vim: sts=4