diff --git a/configure.ac b/configure.ac index 56a829062..0e9ff6bb6 100644 --- a/configure.ac +++ b/configure.ac @@ -210,6 +210,7 @@ data/lcd/icons/Makefile data/lcd/clock/Makefile data/license/Makefile data/locale/Makefile +data/neutrino-scripts/Makefile data/scripts/Makefile data/themes/Makefile src/eitd/Makefile diff --git a/data/Makefile.am b/data/Makefile.am index 062019037..0bd5290e7 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = fonts icons inetradio iso-codes license locale scripts themes +SUBDIRS = fonts icons inetradio iso-codes license locale scripts themes neutrino-scripts if BOXTYPE_TRIPLE SUBDIRS += lcd diff --git a/data/neutrino-scripts/Makefile.am b/data/neutrino-scripts/Makefile.am new file mode 100644 index 000000000..4083e81f3 --- /dev/null +++ b/data/neutrino-scripts/Makefile.am @@ -0,0 +1,6 @@ + +installdir = $(CONFIGDIR) +install_DATA = flash.start + +install-data-hook: + chmod 0755 $(DESTDIR)$(CONFIGDIR)/flash.start diff --git a/data/neutrino-scripts/flash.start b/data/neutrino-scripts/flash.start new file mode 100755 index 000000000..1a2485251 --- /dev/null +++ b/data/neutrino-scripts/flash.start @@ -0,0 +1 @@ +#!/bin/sh diff --git a/src/global.h b/src/global.h index 12af039d4..2870b54b2 100644 --- a/src/global.h +++ b/src/global.h @@ -71,6 +71,7 @@ #define NEUTRINO_LEAVE_DEEPSTANDBY_SCRIPT CONFIGDIR "/deepstandby.off" #define MOVIEPLAYER_START_SCRIPT CONFIGDIR "/movieplayer.start" #define MOVIEPLAYER_END_SCRIPT CONFIGDIR "/movieplayer.end" +#define NEUTRINO_ENTER_FLASH_SCRIPT CONFIGDIR "/flash.start" #define NEUTRINO_SCAN_SETTINGS_FILE CONFIGDIR "/scan.conf" #define NEUTRINO_PARENTALLOCKED_FILE DATADIR "/neutrino/.plocked"