Skip to content
Snippets Groups Projects
Select Git revision
  • experimental default protected
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
  • experimental-2025-05-15-base
  • experimental-2025-05-13
  • experimental-2025-05-13-base
  • experimental-2025-05-08
  • experimental-2025-05-08-base
  • experimental-2025-05-05
  • experimental-2025-05-05-base
  • experimental-2025-05-02
  • experimental-2025-05-02-base
  • experimental-2025-05-01
  • experimental-2025-05-01-base
  • experimental-2025-04-29
  • experimental-2025-04-29-base
  • experimental-2025-04-27
  • experimental-2025-04-27-base
40 results

luci

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Nils Schneider authored
    The reboot page should be delayed a little to give the browser time for
    fetching assets (like the stylesheet). This adds a two second delay.
    Unfortunately, I couldn't think of a sane way to do this within a luci
    controller.
    
    This patch forks the process. The parent will continue rendering the
    page for the browser while the child will sleep and then reboot the
    device. For this to work reliable the child needs to close stdout before
    sleeping so the webserver closes the connection to the browser. This,
    again, required a hack as lua does not allow closing std filehandles,
    when prevented using luci.reboot() which was calling os.execute() and
    that function will not work with stdout closed.
    1e348ddd
    History
    Name Last commit Last update
    ..