Skip to content
Snippets Groups Projects
Select Git revision
  • 41df7400d8408365d78dbeee67a92bdb2b3b4e8a
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

kernel-config

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    21-gluon-state-check 317 B
    #!/bin/sh
    sync_flag="/var/gluon/state/has_ntp_sync"
    unsync_flag="/var/gluon/state/has_lost_ntp_sync"
    
    # shellcheck disable=SC2154 # stratum is set by busybox ntpd.
    if [ "$stratum" = 16 ]
    then
    	touch -a "$unsync_flag"
    	rm -f "$sync_flag"
    elif [ "$stratum" -lt 16 ]
    then
    	touch -a "$sync_flag"
    	rm -f "$unsync_flag"
    fi