diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/lib/utils b/FunKey/board/funkey/rootfs-overlay/usr/local/lib/utils index 7a68128..a770cca 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/local/lib/utils +++ b/FunKey/board/funkey/rootfs-overlay/usr/local/lib/utils @@ -18,3 +18,12 @@ if [ $? -ne 0 ]; then exit $return_code } fi + +notif () { + info "$@" + printf "$@" > /sys/class/graphics/fb0/notification +} + +clear_notif () { + printf "clear" > /sys/class/graphics/fb0/notification +} diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot index cc43886..15e025b 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot +++ b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot @@ -18,15 +18,6 @@ elif [ "${root_part_num}" -ne 2 ]; then die 2 "unknown partition layout, aborting" fi -notif () { - info "$@" - printf "$@" > /sys/class/graphics/fb0/notification -} - -clear_notif () { - printf "clear" > /sys/class/graphics/fb0/notification -} - check_swap () { [ -f /swap ] && die 0 "nothing to do" return 0 diff --git a/Recovery/board/funkey/rootfs-overlay/usr/local/lib/utils b/Recovery/board/funkey/rootfs-overlay/usr/local/lib/utils index 7a68128..a770cca 100755 --- a/Recovery/board/funkey/rootfs-overlay/usr/local/lib/utils +++ b/Recovery/board/funkey/rootfs-overlay/usr/local/lib/utils @@ -18,3 +18,12 @@ if [ $? -ne 0 ]; then exit $return_code } fi + +notif () { + info "$@" + printf "$@" > /sys/class/graphics/fb0/notification +} + +clear_notif () { + printf "clear" > /sys/class/graphics/fb0/notification +}