Skip to content
Snippets Groups Projects
Select Git revision
  • 9f1ce4b0ad737516d2487b8c38015eb3dddd74c4
  • master default protected
  • nrb/allow-wan-status
  • nrb/ffs-prometheus-node-exporter
  • nrbffs/ci-cache-only-dl
  • nrbffs/test
  • v1.6-alpha02
7 results

modules

Blame
  • Forked from firmware / FFS Gluon site
    Source project has a limited visibility.
    90_setup_mode 347 B
    #!/bin/sh
    
    
    setup_mode_enable() {
    	local enabled="$(uci -q get 'gluon-setup-mode.@setup_mode[0].enabled')"
    	local configured="$(uci -q get 'gluon-setup-mode.@setup_mode[0].configured')"
    
    	if [ "$enabled" = 1 ] || [ "$configured" != 1 ]; then
    		echo '/lib/gluon/setup-mode/rc.d' > /tmp/rc_d_path
    	fi
    }
    
    boot_hook_add preinit_main setup_mode_enable