Patch title: Release 92 bulk changes
Abstract:
File: /fullpliant/menu.page
Key:
    Removed line
    Added line
   
module "/pliant/language/context.pli"
module "/pliant/language/stream.pli"
module "/pliant/admin/file.pli"
if os_api="linux"
  module "/pliant/linux/storage/filesystem.pli"
module "/pliant/protocol/http/proxy.pli"
module "/pliant/util/crypto/proxy.pli"
module "/pliant/fullpliant/this_computer.pli"
module "/pliant/fullpliant/shutdown.pli"
if os_api="linux"
  module "/pliant/fullpliant/embedded/command.pli"
  module "/pliant/linux/storage/filesystem.pli"
module "/pliant/language/context.pli"
module "/pliant/language/stream.pli"
module "/pliant/admin/file.pli"
if os_api="linux"
  module "/pliant/linux/storage/filesystem.pli"
module "/pliant/protocol/http/proxy.pli"
module "/pliant/util/crypto/proxy.pli"
module "/pliant/fullpliant/this_computer.pli"
module "/pliant/fullpliant/shutdown.pli"
if os_api="linux"
  module "/pliant/fullpliant/embedded/command.pli"
  module "/pliant/linux/storage/filesystem.pli"
  module "/pliant/linux/kernel/module.pli"


if os_api="linux"
  button "mount floppy" noeol


if os_api="linux"
  button "mount floppy" noeol
    embedded_command "modprobe floppy" ""
    embedded_command "modprobe msdos" ""
    kernel_load_module "floppy"
    kernel_load_module "msdos"
    filesystem_mount "device:/fd0" "embedded:/mnt/floppy/" "
    reload_page
  button "unmount floppy" noeol
    filesystem_dismount "embedded:/mnt/floppy/"
    reload_page
  button "mount CDROM" noeol
    filesystem_mount "device:/fd0" "embedded:/mnt/floppy/" "
    reload_page
  button "unmount floppy" noeol
    filesystem_dismount "embedded:/mnt/floppy/"
    reload_page
  button "mount CDROM" noeol
    embedded_command "modprobe cdrom" ""
    embedded_command "modprobe ide-cd" ""
    embedded_command "modprobe isofs" ""
    kernel_load_module "cdrom"
    kernel_load_module "ide-cd"
    kernel_load_module "isofs"
    var Str device
    (var Stream proc) open "file:/proc/ide/hdc/media" in+saf
    if proc:readline="cdrom"
      device := "device:/hdc"
    else
      proc open "file:/proc/ide/hdb/media" in+safe
      if proc:readline="cdrom"
        device := "device:/hdb"
      else
        proc open "file:/proc/ide/hdd/media" in+safe
        if proc:readline="cdrom"
          device := "device:/hdd"
        else
          device := ""
    if device<>""
      filesystem_mount device "embedded:/mnt/cdrom/" "filesy
    else
      text "Could not find an IDE CDROM in the computer !"
    reload_page
  button "unmount CDROM" noeol
    filesystem_dismount "embedded:/mnt/cdrom/"
    var Str device
    (var Stream proc) open "file:/proc/ide/hdc/media" in+saf
    if proc:readline="cdrom"
      device := "device:/hdc"
    else
      proc open "file:/proc/ide/hdb/media" in+safe
      if proc:readline="cdrom"
        device := "device:/hdb"
      else
        proc open "file:/proc/ide/hdd/media" in+safe
        if proc:readline="cdrom"
          device := "device:/hdd"
        else
          device := ""
    if device<>""
      filesystem_mount device "embedded:/mnt/cdrom/" "filesy
    else
      text "Could not find an IDE CDROM in the computer !"
    reload_page
  button "unmount CDROM" noeol
    filesystem_dismount "embedded:/mnt/cdrom/"
    embedded_command "rmmod isofs" ""
    kernel_unload_module "isofs"
    reload_page
  button "mount USB storage" noeol
    reload_page
  button "mount USB storage" noeol
    embedded_command "modprobe sg" ""
    embedded_command "modprobe sd_mod" ""
    embedded_command "modprobe usbcore" ""
    embedded_command "modprobe usb-uhci" "" # 2.4
    embedded_command "modprobe ehci-hcd" "" # 2.4
    embedded_command "modprobe uhci_hcd" "" # 2.6
    embedded_command "modprobe ehci_hcd" "" # 2.6
    embedded_command "modprobe usb-storage" ""
    embedded_command "modprobe fat" ""
    embedded_command "modprobe msdos" ""
    kernel_load_module "sg"
    kernel_load_module "sd_mod"
    kernel_load_module "usb-uhci" # 2.4
    kernel_load_module "uhci_hcd" # 2.6
    kernel_load_module "ehci_hcd"
    kernel_load_module "usb-storage"
    kernel_load_module "msdos"
    sleep 1
    if (filesystem_mount "device:/sda1" "embedded:/mnt/usb/"
      filesystem_mount "device:/sda1" "embedded:/mnt/usb/" "
    reload_page
  button "unmount USB" noeol
    filesystem_dismount "embedded:/mnt/usb/"
    reload_page
  eol

execute_dynamic_page "pliant:/pliant/protocol/http/login.htm
if os_api="linux"
  if (this_computer:env:"kernel":"make":"CONFIG_APM"="y")
    button "Suspend" noeol
      embedded_command "/usr/bin/apm -s" ""
      reload_page
button "Power off"
  title "Power off"
  [Do you really want to power off this computer ? ]
  button "yes" noeol
    shutdown 30 "poweroff"
  button "no"
    goto_backward
    sleep 1
    if (filesystem_mount "device:/sda1" "embedded:/mnt/usb/"
      filesystem_mount "device:/sda1" "embedded:/mnt/usb/" "
    reload_page
  button "unmount USB" noeol
    filesystem_dismount "embedded:/mnt/usb/"
    reload_page
  eol

execute_dynamic_page "pliant:/pliant/protocol/http/login.htm
if os_api="linux"
  if (this_computer:env:"kernel":"make":"CONFIG_APM"="y")
    button "Suspend" noeol
      embedded_command "/usr/bin/apm -s" ""
      reload_page
button "Power off"
  title "Power off"
  [Do you really want to power off this computer ? ]
  button "yes" noeol
    shutdown 30 "poweroff"
  button "no"
    goto_backward