From: Dagg Stompler Date: Fri, 25 Nov 2016 07:48:46 +0000 (+0200) Subject: odroid-scripts: init display as early as possible X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fdb3af6316278400446511a7e6c53cde43f4a09;p=buildroot.git odroid-scripts: init display as early as possible this commit will init the display as early as possible so the user can see on screen the boot process. the displey init will be called after the logging init to provide some logging of the init. Signed-off-by: Dagg Stompler Signed-off-by: Thomas Petazzoni --- diff --git a/package/odroid-scripts/S02odroidc2_fb b/package/odroid-scripts/S02odroidc2_fb new file mode 100644 index 0000000000..2aae59db98 --- /dev/null +++ b/package/odroid-scripts/S02odroidc2_fb @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Set up frame buffer +# + +case "$1" in + start) + echo "Setting up display..." + /usr/sbin/odroidc2_init_fb.sh + ;; + stop) + ;; + restart|reload) + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? diff --git a/package/odroid-scripts/S50odroidc2_fb b/package/odroid-scripts/S50odroidc2_fb deleted file mode 100644 index 2aae59db98..0000000000 --- a/package/odroid-scripts/S50odroidc2_fb +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# -# Set up frame buffer -# - -case "$1" in - start) - echo "Setting up display..." - /usr/sbin/odroidc2_init_fb.sh - ;; - stop) - ;; - restart|reload) - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/package/odroid-scripts/odroid-scripts.mk b/package/odroid-scripts/odroid-scripts.mk index 858ec37fe8..72e7b95880 100644 --- a/package/odroid-scripts/odroid-scripts.mk +++ b/package/odroid-scripts/odroid-scripts.mk @@ -29,8 +29,8 @@ define ODROID_SCRIPTS_INSTALL_INIT_SYSTEMD endef define ODROID_SCRIPTS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/odroid-scripts/S50odroidc2_fb \ - $(TARGET_DIR)/etc/init.d/S50odroidc2_fb + $(INSTALL) -D -m 0755 package/odroid-scripts/S02odroidc2_fb \ + $(TARGET_DIR)/etc/init.d/S02odroidc2_fb endef $(eval $(generic-package))