Subversion Repositories livecd

Rev

Rev 248 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 248 Rev 249
Line 197... Line 197...
197
if [ "`cmdline_parameter nox`" ]; then
197
if [ "`cmdline_parameter nox`" ]; then
198
  echo "set runlevel to 3"
198
  echo "set runlevel to 3"
199
  sed -i "s/id:.:initdefault:/id:3:initdefault:/" $UNION/etc/inittab
199
  sed -i "s/id:.:initdefault:/id:3:initdefault:/" $UNION/etc/inittab
200
fi
200
fi
201
 
201
 
-
 
202
# with X? (set runlevel to 5)
-
 
203
if [ "`cmdline_parameter withx`" ]; then
-
 
204
  echo "set runlevel to 5"
-
 
205
  sed -i "s/id:.:initdefault:/id:5:initdefault:/" $UNION/etc/inittab
-
 
206
fi
-
 
207
 
202
$DEBUGCMD
208
$DEBUGCMD
203
 
209
 
204
# Union contains all the files and directories unioned from all modules.
210
# Union contains all the files and directories unioned from all modules.
205
# Change root directory to it, and move initrd's root to /livecd/live/initramdisk
211
# Change root directory to it, and move initrd's root to /livecd/live/initramdisk
206
# Finaly execute /sbin/init to start the distribution.
212
# Finaly execute /sbin/init to start the distribution.