diff --git a/configure.ac b/configure.ac index d6ad7409c..7c6be85ab 100644 --- a/configure.ac +++ b/configure.ac @@ -683,6 +683,12 @@ data/scripts/backup_flash.sh data/scripts/restore_flash.sh ]) +if test "$BOXTYPE" = "generic"; then + AC_CONFIG_FILES([ + data/scripts/neutrino.sh + ]) +fi + # Backup configs AC_CONFIG_FILES([ data/config/settingsupdate.conf diff --git a/data/scripts/Makefile.am b/data/scripts/Makefile.am index 37e1f08d8..e8edc9ea1 100644 --- a/data/scripts/Makefile.am +++ b/data/scripts/Makefile.am @@ -5,6 +5,11 @@ EXTRA_DIST = \ restore_flash.sh restore_flash.sh.in \ migration.sh migration.sh.in +if BOXTYPE_GENERIC +EXTRA_DIST += \ + neutrino.sh neutrino.sh.in +endif + installdir = $(bindir) install_SCRIPTS = \ @@ -27,3 +32,8 @@ if BOXTYPE_ARMBOX install_SCRIPTS += \ restore_flash.sh endif + +if BOXTYPE_GENERIC +install_SCRIPTS += \ + neutrino.sh +endif diff --git a/data/scripts/neutrino.sh.in b/data/scripts/neutrino.sh.in new file mode 100644 index 000000000..e63928dff --- /dev/null +++ b/data/scripts/neutrino.sh.in @@ -0,0 +1,4 @@ +#!/bin/bash + +export SIMULATE_FE=1 +neutrino