ACC SHELL
/**
* File: proc_cmdline.scr
* Summary: Agent for reading /proc/cmdline
* Author: Klaus Kaempf <kkaempf@suse.de>
* Access: read-only
*
* Example:
* Read(.proc.cmdline)
* (["auto", "BOOT_IMAGE=linux", "ro", "root=801", "BOOT_FILE=/boot/vmlinuz"])
*
* $Id: proc_cmdline.scr 13069 2003-12-16 09:30:51Z jsrain $
*
* Returns a <b>list</b> of arguments given to the kernal at boottime.
* (might have been set by lilo, ...)
*/
.proc.cmdline
`ag_anyagent(
`Description(
(`File("/proc/cmdline")), // real filename
"#\n", // comment
true, // read-only
(`List(
`String("^ \n"),
" "
))
)
)
ACC SHELL 2018