From b2847c1cd4239efc4f3c07c17ba9e79e22e7e285 Mon Sep 17 00:00:00 2001 From: Michel-FK Date: Tue, 8 Jun 2021 22:41:42 +0200 Subject: [PATCH] add alias functions for compatibility Signed-off-by: Michel-FK --- .../board/funkey/rootfs-overlay/root/.profile | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/FunKey/board/funkey/rootfs-overlay/root/.profile b/FunKey/board/funkey/rootfs-overlay/root/.profile index a7a4d20..3ab2884 100755 --- a/FunKey/board/funkey/rootfs-overlay/root/.profile +++ b/FunKey/board/funkey/rootfs-overlay/root/.profile @@ -18,6 +18,35 @@ alias l='ls $LS_OPTIONS -lA' # alias cp='cp -i' # alias mv='mv -i' +# Alias functions for compatibility +volume_get() { + volume get "$@" +} + +volume_set() { + volume set "$@" +} + +brightness_get() { + brightness get "$@" +} + +brightness_set() { + brightness set "$@" +} + +notif_set() { + notif set "$@" +} + +start_audio_amp() { + audio_amp "$@" +} + +cancel_sched_powerdown() { + powerdown handle +} + # Relocate HOME into the r/w partition export HOME=/mnt/FunKey mkdir -p "${HOME}"