home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-03-30 | 27.3 KB | 1,038 lines |
- {
-
-
- # chap_secrets.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/etc/ppp/chap-secrets"), // real file name
- "#\n", // Comment
- false, // read-only
- ``List(
- Tuple(
- `client (String("^ \t")),
- Separator ("\t "),
- `server (String("^ \t")),
- Separator ("\t "),
- `secret (String("^\n"))
- ),
- "\n"
- )
- )), .etc.ppp.chap_secrets);
-
- # etc_fstab.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/mnt/etc/fstab"), // real file name
- "#\n", // Comment
- false, // read-only
- ``List (
- Tuple (
- `spec (String("^\t ")),
- Separator ("\t "),
- `file (String("^\t ")),
- Separator ("\t "),
- `vfstype (String("^\t ")),
- Separator ("\t "),
- `mntops (String("^ \t\n")),
- Optional(Whitespace()),
- Optional(`freq (Number())),
- Optional(Whitespace()),
- Optional(`passno (Number()))
- ),
- "\n"
- )
- )
- ), .mnt.etc.fstab);
-
- # etc_hosts.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/etc/hosts"), // real file name
- "#\n", // Comment
- false, // read-only
- ``List (
- Tuple (
- `ip4 (Ip4Number()),
- Separator ("\t "),
- `hostnames (List (Hostname(), Whitespace()))
- ),
- "\n"
- )
- )
- ), .etc.hosts);
-
- # etc_install_inf.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/etc/install.inf"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (
- Choice (
- [ "Language:", Sequence (Whitespace (), `language (String("^\n")))],
- [ "Keytable:", Sequence (Whitespace (), `keytable (String("^\n")))],
- [ "Keyboard:", Sequence (Whitespace (), `keyboard (String("^\n")))],
- [ "Display:", Sequence (Whitespace (), `display(String("^\n")))],
- [ "Bootmode:", Sequence (Whitespace (), `bootmode(String("^\n")))],
- [ "Sourcemounted:", Sequence (Whitespace (), `sourcemounted(String("^\n")))],
- [ "Cdrom:", Sequence (Whitespace (), `cdrom(String("^\n")))],
- [ "Partition:", Sequence (Whitespace (), `partition(String("^\n")))],
- [ "Fstyp:", Sequence (Whitespace (), `fstype(String("^\n")))],
- [ "Netdevice:", Sequence (Whitespace (), `netdevice(String("^\n")))],
- [ "IP:", Sequence (Whitespace (), `ip(String("^\n")))],
- [ "Netmask:", Sequence (Whitespace (), `netmask(String("^\n")))],
- [ "Gateway:", Sequence (Whitespace (), `gateway(String("^\n")))],
- [ "Nameserver:", Sequence (Whitespace (), `nameserver(String("^\n")))],
- [ "Server:", Sequence (Whitespace (), `server(String("^\n")))],
- [ "Serverdir:", Sequence (Whitespace (), `serverdir(String("^\n")))],
- [ "alias ", Sequence (Whitespace (), `alias(String("^\n")))],
- [ "Machinename:", Sequence (Whitespace (), `machinename(String("^\n")))],
- [ "Domain:", Sequence (Whitespace (), `domain(String("^\n")))],
- [ "SMP:", Sequence (Whitespace (), `smp(String("^\n")))],
- [ "Mousedevice:", Sequence (Whitespace (), `mouse_device(String("^\n")))],
- [ "Mousetype:", Sequence (Whitespace (), `mouse_type(String("^\n")))],
- [ "INITRD_MODULES=", Sequence (Optional(Whitespace()), Optional ("\""),
- Optional (Whitespace()),
- `initrd_modules(List(String("^ \""), " ")),
- Optional ("\""))
- ],
- [ "options ", Sequence (Whitespace (), `options(String("^\n")))],
- [ "Floppydisk:", Sequence (Whitespace (), `floppy_disk(String("^\n")))],
- [ "YaST2update:", Sequence (Whitespace (), `yast2_update(String("^\n")))],
- [ "Textmode:", Sequence (Whitespace (), `textmode(String("^\n")))],
- [ "Framebuffer:", Sequence (Whitespace (), `framebuffer(String("^\n")))],
- [ "Locale:", Sequence (Whitespace (), `llocale(String("^\n")))],
- [ "Font:", Sequence (Whitespace (), `font(String("^\n")))],
- [ "Unicodemap:", Sequence (Whitespace (), `unicodemap(String("^\n")))],
- [ "Screenmap:", Sequence (Whitespace (), `screenmap(String("^\n")))],
- [ "Fontmagic:", Sequence (Whitespace (), `fontmagic(String("^\n")))],
- [ "HasPCMCIA:", Sequence (Whitespace (), `haspcmcia(String("^\n")))],
- [ "USB:", Sequence (Whitespace (), `usb(String("^\n")))],
- [ "YaST2serial:", Sequence (Whitespace (), `serial(String("^\n")))],
- [ "Manual:", Sequence (Whitespace (), `manual(String("^\n")))],
- [ "", `unknown (String ("^\n"))]
- ),
- Continue ("\n")
- )
- )
- ), .etc.install_inf);
-
- # etc_passwd.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/etc/passwd"), // real filename
- "#", // Comment
- true,
- ``List (
- Or (
- Tuple (
- `username (String("+")),
- ":",
- `password (String ("")),
- ":",
- `uid (String ("")),
- ":",
- `gid (String ("")),
- ":",
- `fullname (String ("")),
- ":",
- `home (String ("")),
- ":",
- `shell (String (""))
- ),
-
- Tuple (
- `username (Username()),
- ":",
- `password (Or (String ("^:"), "")),
- ":",
- `uid (Number ()),
- ":",
- `gid (Number ()),
- ":",
- `fullname (Or (String ("^:"), "")),
- ":",
- `home (String ("^:")),
- ":",
- `shell (String ("^\n"))
- )),
- "\n"
- )
- )),
- .etc.passwd
- );
-
- # etc_printcap.scr
-
- MountAgent(`anyagent(
- ``Description (
- ``File("/etc/printcap"), // real file name
- "#\n", // Comment
- true, // read-only
- ``List (
- Tuple (
- `names ( List( String("^|:"), "|")),
- Optional(":\\\n"),
- Optional(Separator("\t ")),
- ":",
- `options (
- List (
- Tuple(
- `option (String("^:#=@\n")),
- `value (Or(String("^:\n"), "")),
- Optional(":\\\n"),
- Optional(Separator("\t "))
- ), ":"
- )
- )
- ),
- "\n"
- ))), .etc.printcap);
-
- # i4l_hw.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/etc/rc.config.d/i4l_hardware.rc.config"), // real file name
- `Fillup ("#\n"), // Comment for Fillup
- false, // read-only
- ``List(
- Tuple(
- Fillup(),
- `key (String("^=")),
- Separator ("="),
- Optional(`value (String("^\n")))
- ),
- "\n"
- )
- )), .etc.i4l_hw);
-
- # i4l_rc.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/etc/rc.config.d/i4l.rc.config"), // real file name
- `Fillup("#\n"), // Comment
- false, // read-only
- ``List(
- Tuple(
- Fillup(),
- `key (String("^=")),
- Separator ("="),
- Optional(`value (String("^\n")))
- ),
- "\n"
- )
- )), .etc.i4l);
-
- # ippp_options.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/etc/ppp/options.ippp0"), // real file name
- `Fillup("#\n"), // Comment
- false, // read-only
- ``List(
- Tuple(
- Fillup(),
- `key (String("^ \n")),
- Optional(Separator (" ")),
- Optional(`value (String("^\n")))
- ),
- "\n"
- )
- )), .etc.ppp.ioptions);
-
- # lib_iso3166.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/usr/share/zoneinfo/iso3166.tab"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (Name (String("^ \t")), Whitespace(), Value (String ("^\n")), Continue ("\n"))
- )
- ), .lib.iso3166);
-
- # lib_zoneinfo.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``Run("cat /usr/share/zoneinfo/zone.tab | sort +2"), // real file name
- "#\n", // Comment
- true, // read-only
- ``List (
- Tuple (
- `code(String("^ \t")),
- Whitespace (),
- `coord(String("^ \t")),
- Whitespace (),
- `dir(String("^/")),
- "/",
- `file(String("^ \t\n")),
- Optional(Whitespace ()),
- Optional(`comment (String ("^\n")))
- ),
- "\n")
- )
- ), .lib.zoneinfo);
-
- # lspci.scr
-
- MountAgent(`anyagent(
- ``Description (
- ``Run ("/sbin/lspci"), // real file name
- "", // comment
- true, // read only
- ``List(
- Tuple (
- `slot (String ("^ ")),
- Whitespace (),
- `class (String ("^:")),
- Separator (":"),
- Whitespace (),
- `rest (String ("^\n"))
- ),
- String ("\n")
- )
- )
- ), .sbin.lspci);
-
- # pap_secrets.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/etc/ppp/pap-secrets"), // real file name
- "#\n", // Comment
- false, // read-only
- ``List(
- Tuple(
- `client (String("^ \t")),
- Separator ("\t "),
- `server (String("^ \t")),
- Separator ("\t "),
- `secret (String("^\n"))
- ),
- "\n"
- )
- )), .etc.ppp.pap_secrets);
-
- # pdisk.scr
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/hda"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.hda);
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/hdb"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.hdb);
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/hdc"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.hdc);
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/hdd"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.hdd);
-
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/sda"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.sda);
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/sdb"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.sdb);
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/sdc"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.sdc);
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/sdd"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.sdd);
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/sde"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.sde);
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/sdf"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.sdf);
-
-
- MountAgent (`anyagent(``Description (
- ``Run("/lib/YaST2/bin/pdisk -l /dev/sdg"),
- "\n", true,
- ``List (
- Choice (
- [Sequence ("Partition", String("^\n")), Skip ()],
- [Sequence (" #:", String("^\n")), Skip ()],
- [Whitespace(), Tuple (`nr(Number()), ":", Optional(Whitespace()),
- `type(String("^ *")),
- Optional(`flag("*")),
- Optional(Whitespace()),"'",
- Optional(`name(String("^'", " "))),"'", Optional(Whitespace()),
- `length(Number()),
- " @ ",
- `base(Number()),
- Optional(String("^\n"))
- )
- ],
- ["Device block size=", Tuple (
- `bytes_per_unit(Number ()),
- ", Number of Blocks=",
- `disk_size (Number ()),
- String ("^\n")
- )],
- [Sequence ("DeviceType=", String("^\n")), Skip ()],
- [Sequence ("Drivers", String("^\n")), Skip ()],
- ["D", Sequence (Number(),": @", String("^\n"))]
- ),
- "\n"
- ))), .pdisk.sdg);
-
-
- # proc_asound_cards.scr
-
- MountAgent(`anyagent(
- ``Description (
- ``File("/proc/asound/cards"),
- "",
- true,
- ``List(
- Tuple(
- `num (Number ()),
- `Whitespace (),
- `String ("["),
- `card (String ("^ \t]")),
- `Optional (Whitespace ()),
- `String ("]:"),
- `Optional (Whitespace ()),
- `line1 (String ("^\n")),
- `Separator ("\n"),
- `Whitespace (),
- `line2 (String ("^\n"))
- ),
- String ("\n")
- )
- )
- ), .proc.asound.cards);
-
- # proc_cmdline.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/cmdline"), // real filename
- "#\n", // Comment
- true, // read-only
- ``List (
- String ("^ \n"),
- " "
- )
- )
- ), .proc.cmdline);
-
- # proc_cpuinfo.scr
-
- MountAgent (`anyagent(
-
- ``Description (
- ``File("/proc/cpuinfo"), // real filename
- "#\n", // Comment
- true, // read-only
- ``Tuple (
- Choice (
- [ "processor", Optional (Sequence (Whitespace(), ": ", `processor (Number()), Optional(String("^\n"))))],
- [ "vendor_id", Optional (Sequence (Whitespace(), ": ", `vendor_id (String("^\n")), Optional(String("^\n"))))],
- [ "cpu family", Optional (Sequence (Whitespace(), ": ", `family (Number()), Optional(String("^\n"))))],
- [ "model name", Optional (Sequence (Whitespace(), ": ", `model_name (String("^\n")), Optional(String("^\n"))))],
- [ "model", Optional (Sequence (Whitespace(), ": ", `model (Number()), Optional(String("^\n"))))],
- [ "name", Optional (Sequence (Whitespace(), ": ", `name (String("^\n")), Optional(String("^\n"))))],
- [ "stepping", Optional (Sequence (Whitespace(), ": ", `stepping(Number()), Optional(String("^\n"))))],
- [ "cpu MHz", Optional (Sequence (Whitespace(), ": ", `mhz(Float()), Optional(String("^\n"))))],
- [ "cache size", Optional (Sequence (Whitespace(), ": ", `cache(Number()), Optional(String("^\n"))))],
- [ "fdiv_bug", Optional (Sequence (Whitespace(), ": ", `fdiv_bug(Boolean()), Optional(String("^\n"))))],
- [ "hlt_bug", Optional (Sequence (Whitespace(), ": ", `hlt_bug(Boolean()), Optional(String("^\n"))))],
- [ "sep_bug", Optional (Sequence (Whitespace(), ": ", `sep_bug(Boolean()), Optional(String("^\n"))))],
- [ "f00f_bug", Optional (Sequence (Whitespace(), ": ", `f00f_bug(Boolean()), Optional(String("^\n"))))],
- [ "coma_bug", Optional (Sequence (Whitespace(), ": ", `coma_bug(Boolean()), Optional(String("^\n"))))],
- [ "fpu_exception",Optional (Sequence (Whitespace(), ": ", `fpu_exception(Boolean()), Optional(String("^\n"))))],
- [ "fpu", Optional (Sequence (Whitespace(), ": ", `fpu(Boolean()), Optional(String("^\n"))))],
- [ "cpuid level",Optional (Sequence (Whitespace(), ": ", `cpuid_level(Number()), Optional(String("^\n"))))],
- [ "wp", Optional (Sequence (Whitespace(), ": ", `wp(Boolean()), Optional(String("^\n"))))],
- [ "flags", Optional (Sequence (Whitespace(), ": ", `flags(List(String("^ \n"), " ")), Optional(String("^\n"))))],
- [ "bogomips", Optional (Sequence (Whitespace(), ": ", `bogomips(Float()), Optional(String("^\n"))))]
- ),
- Continue ("\n")
- )
- )), .proc.cpuinfo);
-
- # proc_devices.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/devices"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (
- Choice (
- ["Character devices:\n",
- `char (
- Tuple (Optional (Whitespace()), Value (Number()), Whitespace(), Name(String("^\n")), Continue ("\n"))
- )
- ]
- ),
- Choice (
- ["Block devices:\n",
- `block (
- Tuple (Optional (Whitespace()), Value (Number()), Whitespace(), Name(String("^\n")), Continue ("\n"))
- )
- ]
- )
- )
- )), .proc.devices);
-
- # proc_dma.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/dma"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (Optional (Whitespace()), Value (Number()), ": ", Name(String("^\n")), Continue ("\n"))
- )), .proc.dma);
-
- # proc_fb.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/fb"), // real file name
- "#\n", // Comment
- true, // read-only
- ``List (Tuple (`fb (Number()), " ", `type (List (String ("^ \n"), " "))), "\n")
- )), .proc.fb);
-
- # proc_filesystems.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/filesystems"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (Value (Or (Whitespace(), "nodev")), Optional (Whitespace()), Name (String("^ \n")), Continue("\n"))
- )), .proc.filesystems);
-
- # proc_interrupts.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/interrupts"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (
- Choice (
- [" ", Sequence (Whitespace(),"CPU",String("^\n"))],
- ["NMI:", Sequence (Whitespace(), `nmi(Number()))],
- [" ", Sequence (Whitespace(), Name(Number()), ":", Whitespace(), Value(List(String("^ \t\n,"), String (", \t"))))]
- ),
- Continue ("\n")
- )
- )), .proc.interrupts);
-
- # proc_ioports.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/ioports"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (Value (List(Hexval(),"-")), " : ", Name(String("^\n")), Continue ("\n"))
- )), .proc.ioports);
-
- # proc_meminfo.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/meminfo"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (
- Choice (
- [" ", Sequence (Whitespace(),"total",String("^\n"))],
- ["Mem:", `mem(Tuple (Whitespace(), `total(Number()), Whitespace(), `used(Number()), Whitespace(), `free(Number()), Whitespace(), `shared(Number()), Whitespace(), `buffers(Number()), Whitespace(), `cached(Number())))],
- ["Swap:", `swap(Tuple (Whitespace(), `total(Number()), Whitespace(), `used(Number()), Whitespace(), `free(Number())))],
- ["MemTotal:", Sequence (Whitespace(), `memtotal(Number()), String("^\n"))],
- ["MemFree:", Sequence (Whitespace(), `memfree(Number()), String("^\n"))],
- ["MemShared:", Sequence (Whitespace(), `memshared(Number()), String("^\n"))],
- ["Buffers:", Sequence (Whitespace(), `buffers(Number()), String("^\n"))],
- ["Cached:", Sequence (Whitespace(), `cached(Number()), String("^\n"))],
- ["SwapTotal:", Sequence (Whitespace(), `swaptotal(Number()), String("^\n"))],
- ["SwapFree:", Sequence (Whitespace(), `swapfree(Number()), String("^\n"))]
- ),
- Continue ("\n")
- )
- )), .proc.meminfo);
-
- # proc_modules.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/proc/modules"), // real file name
- "#\n", // Comment
- true, // read-only
- ``Tuple (
- Name(String("^ \t")),
- Whitespace (),
- Value (
- Tuple (
- `size (Number()),
- Whitespace(),
- `used (Number()),
- Optional (String ("^\n"))
- )
- ),
- Continue ("\n")
- )
- )), .proc.modules);
-
- # proc_parport_autoprobe.scr
-
- MountAgent(`anyagent(
- ``Description (
- ``Run("for I in `ls /proc/parport 2> /dev/null`; do echo \"/dev/lp$I:\" ; cat \"/proc/parport/$I/autoprobe\" 2> /dev/null; echo ; done"),
- "", // Comment
- true, // read-only
- ``Tuple(
- Name(String("^:")),
- ":\n",
- Or(Value(
- Tuple(
- Name(String("^:\n")),
- ":",
- Value(String("^;\n")),
- ";",
- Continue("\n")
- )
- ), ""),
- Continue("\n"))
- )), .proc.parport.autoprobe);
-
- # proc_parport_devices.scr
-
- MountAgent(`anyagent(
- ``Description (
- ``Run("for I in `ls /proc/parport 2> /dev/null`; do echo \"/dev/lp$I\"; done"),
- "", // Comment
- true, // read-only
- ``List(
- String("^\n"),
- "\n"
- ))), .proc.parport.devices);
-
- # proc_usblp_devices.scr
-
- MountAgent(`anyagent(
- ``Description (
- ``Run("for I in `ls /dev/usblp* 2> /dev/null`; do echo \"$I\"; done"),
- "", // Comment
- true, // read-only
- ``List(
- String("^\n"),
- "\n"
- ))), .proc.usblp.devices);
-
- # run_ls.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``Run("/bin/ls"), // real file name
- "\n", // Comment
- true, // read-only
- ``List (
- String ("^ \t\n"),
- String ("\n\t ")
- )
- )
- ), .run.ls);
-
- # run_swapon_s.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``Run("/sbin/swapon -s"),
- "\n", // Comment
- true, // read-only
- ``Tuple (
- Choice (
- [ "/dev", Sequence (Name(String("^ \t")), Value(String("^\n"))) ],
- [ "", String("^\n") ]
- ),
- Continue ("\n")
- )
- )
- ), .run.swapon_s);
-
- # wvdial.scr
-
- MountAgent (`anyagent(
- ``Description(
- ``File("/etc/wvdial.conf"), // should be working for any INI file
- "#\n",
- false,
- ``List(
- Tuple(
- Optional ("["),
- `section (String("^[]")),
- "]\n",
- `contents (
- List(
- Tuple(
- `keyname (String("^[]=", " ")), Optional (Whitespace()),
- Separator("="), Optional (Whitespace()),
- Optional (`keyvalue (String("^\n")))
- ),
- "\n"
- )
- )
- ),
- Or ("\n", Skip())
- ))),
- .etc.wvdialconf);
-
-
- # wvdialw.scr
-
- MountAgent (`anyagent(
- ``Description(
- ``File("/etc/wvdial.conf"), // should be working for any INI file
- "#\n",
- false,
- ``List(
- Tuple(
- Optional ("["),
- `section (String("^[]")),
- "]\n",
- `contents (
- List(
- Tuple(
- `keyname (String("^[]=")),
- Separator("="), Optional (Whitespace()),
- Optional (`keyvalue (String("^\n")))
- ),
- "\n"
- )
- )
- ),
- Or ("\n", Skip())
- ))),
- .etc.wvdialconfw);
-
-
- # yast_installinf.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/mnt/var/lib/YaST/install.inf"), // real file name
- "#\n", // Comment
- false, // read-only
- ``String ("MediaInfo: 2 /dev/cdrom")
- )
- ), .mnt.var.lib.yast.installinf);
-
- # yast_systeminf.scr
-
- MountAgent (`anyagent(
- ``Description (
- ``File("/mnt/var/lib/YaST/system.inf"), // real file name
- "#\n", // Comment
- false, // read-only
- ``String ("ELF=\"1\"\nHAS_LIVE_CD=\"1\"")
- )
- ), .mnt.var.lib.yast.systeminf);
- }
-
-