From c8670d674bde556fb983f82d60430b9f870d5ae7 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Mon, 2 Nov 2020 20:28:06 +0100 Subject: [PATCH] CommonAddon: remove unused funcs --- CommonAddon | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CommonAddon b/CommonAddon index d48131c..2c0ff15 100644 --- a/CommonAddon +++ b/CommonAddon @@ -52,20 +52,11 @@ WhisperPush EOF } -is_mounted () { - grep -q "$(readlink -f ${1})" /proc/mounts 2>/dev/null - return $? -} - ui_print () { echo -n -e "ui_print ${1}\n" >> /proc/self/fd/${OUTFD} echo -n -e "ui_print\n" >> /proc/self/fd/${OUTFD} } -grep_prop() { - sed -n "s/^${1}=//p" ${build_props} ${2} | head -n 1 -} - detect_outfd () { # taken from Magisk # update-binary|updater