home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / scrconf / proc_cmdline.scr < prev    next >
Encoding:
Text File  |  2006-11-29  |  626 b   |  29 lines

  1. /**
  2.  * File:    proc_cmdline.scr
  3.  * Summary:    Agent for reading /proc/cmdline
  4.  * Author:    Klaus Kaempf <kkaempf@suse.de>
  5.  * Access:    read-only
  6.  *
  7.  * Example:
  8.  *   Read(.proc.cmdline)
  9.  *   (["auto", "BOOT_IMAGE=linux", "ro", "root=801", "BOOT_FILE=/boot/vmlinuz"])
  10.  *
  11.  * $Id: proc_cmdline.scr 13069 2003-12-16 09:30:51Z jsrain $
  12.  *
  13.  * Returns a <b>list</b> of arguments given to the kernal at boottime.
  14.  * (might have been set by lilo, ...)
  15.  */
  16. .proc.cmdline
  17.  
  18. `ag_anyagent(
  19.     `Description(
  20.     (`File("/proc/cmdline")),    // real filename
  21.     "#\n",                // comment
  22.     true,                // read-only
  23.     (`List(
  24.         `String("^ \n"),
  25.         " "
  26.     ))
  27.     )
  28. )
  29.