Skip to content

Instantly share code, notes, and snippets.

@tsutsui
Created October 26, 2019 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsutsui/5e2217dab733485689f0fcb9720793fb to your computer and use it in GitHub Desktop.
Save tsutsui/5e2217dab733485689f0fcb9720793fb to your computer and use it in GitHub Desktop.
Zaurus の起動時に Qtopia ではなくコンソールを起動するための /home/sharp/etc/launch.conf の変更内容メモ
## launch.conf Created by T.Ishitani
#
# Section:
# .OPTION --- Specify Option for launch
# .COMMAND -- Specify Key and Command
#
# in .Command Section
# Need following field seperated by TAB or Space
# KEY MESSAGE TYPE PATH PROG_NAME [ARGS..]
# KEY -- only 1 character accepted
# MESSAGE -- for prompt message
# TYPE -- one of following characters
# e -- exec command
# l -- loop exec
# c -- call command
# f -- function call
# q -- quit
# PATH -- command path (PATH enviroment is available)
# PROG_NAME -- program name without path
# ARGS -- specify arguments for PROG if needed
.OPTION
timeout 2 # sec
default 3 # key for timeout
.COMMAND
#q "Qtopia " x /sbin/qt qt
q "Linux Console " e /sbin/getty getty 9600 tty1
a "Linux Console " e /sbin/getty getty 9600 tty1
e "init 3 (ttyS0:pppd) " e /sbin/init init 3
r "init 4 (ttyS0:terminal)" e /sbin/init init 4
t "init 5 (ttyS0:-free-) " e /sbin/init init 5
## launch.conf Created by T.Ishitani
#
# Section:
# .OPTION --- Specify Option for launch
# .COMMAND -- Specify Key and Command
#
# in .Command Section
# Need following field seperated by TAB or Space
# KEY MESSAGE TYPE PATH PROG_NAME [ARGS..]
# KEY -- only 1 character accepted
# MESSAGE -- for prompt message
# TYPE -- one of following characters
# e -- exec command
# l -- loop exec
# c -- call command
# f -- function call
# q -- quit
# PATH -- command path (PATH enviroment is available)
# PROG_NAME -- program name without path
# ARGS -- specify arguments for PROG if needed
.OPTION
timeout 20 # sec
default 3 # key for timeout
.COMMAND
q "Qtopia " x /sbin/qt qt
a "Linux Console " e /sbin/getty getty 9600 tty1
e "init 3 (ttyS0:pppd) " e /sbin/init init 3
r "init 4 (ttyS0:terminal)" e /sbin/init init 4
t "init 5 (ttyS0:-free-) " e /sbin/init init 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment