Skip to content
Snippets Groups Projects
Select Git revision
  • fc46d4470f5ef30f6a310c0819201ea8be96a806
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • 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
  • v2023.2.5-ffs0.1
  • experimental-2025-06-08
  • experimental-2025-06-08-base
  • experimental-2025-06-06
  • experimental-2025-06-06-base
  • 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
41 results

features.sh

Blame
    • Matthias Schiffer's avatar
      6ca841ba
      build: introduce GLUON_FEATURES · 6ca841ba
      Matthias Schiffer authored
      To reduce the number of packages that need to be listed in
      GLUON_SITE_PACKAGES, this adds a new variable GLUON_FEATURES. Sets of
      packages are enabled automatically based on the combination of listed
      feature flags.
      
      Site-specified package feeds can provide their own feature flag
      definitions.
      build: introduce GLUON_FEATURES
      Matthias Schiffer authored
      To reduce the number of packages that need to be listed in
      GLUON_SITE_PACKAGES, this adds a new variable GLUON_FEATURES. Sets of
      packages are enabled automatically based on the combination of listed
      feature flags.
      
      Site-specified package feeds can provide their own feature flag
      definitions.
    lint-sh.sh 573 B
    #!/bin/sh
    
    set -e
    
    is_scriptfile() {
    	echo "$1" | grep -qE '.*\.sh$' || head -n1 "$1" | grep -qE '^#.*(sh|bash)$'
    }
    
    find contrib -type f | while read -r file; do
    	is_scriptfile "$file" || continue
    
    	echo "Checking $file"
    	shellcheck -f gcc "$file"
    done
    
    find package -type f | while read -r file; do
    	is_scriptfile "$file" || continue
    
    	echo "Checking $file"
    	shellcheck -f gcc -x -s sh -e SC2039,SC3043,SC3037,SC3057 "$file"
    done
    
    find scripts -type f | while read -r file; do
    	is_scriptfile "$file" || continue
    
    	echo "Checking $file"
    	shellcheck -f gcc -x "$file"
    done