This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# Author: Luis Adha | |
# This code is released to the public domain. | |
# The author gave permission to use this code snippet in your script. | |
# Script name: playmusic.sh | |
# Version: v0.1 | |
# Build date: Teu Dec 21 13:59:21 WIB 2021 | |
GRAY='\e[1;30m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ -z "$PS1" ] && return # bashcheck is only called via function | |
cu() | |
{ | |
local program="$1" | |
local help="$*"; | |
if [ -z "$program" ]; then echo "cu: Try \`cu --help' "; exit 1 | |
elif [ "$program" == "--help" ]; then coreutils --help; | |
elif [ "$program" == "--version" ]; then coreutils --version; | |
else eval cmd=--coreutils-prog=$1; coreutils $cmd $help; fi | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# Author: luisadha | |
# Script to change system hostname, reboot to restore it. | |
# **Su binaries needed & busybox too** | |
local file="$0: $1: No such file or directory" | |
local usage="usage:\thostnamchanger FILE... " | |
[ $# -lt 1 ] && echo $usage && return 1 | |
[ ! -f $1 ] && echo $file && return 1 | |
local arg="$*"; |
NewerOlder