Blueno_Termux/myTermux/fix/mpd/run
2022-04-01 08:36:29 -04:00

9 lines
218 B
Bash
Executable File

#!/data/data/com.termux/files/usr/bin/sh
if [ -f "$HOME/.config/mpd/mpd.conf" ]; then
CONFIG="$HOME/.config/mpd/mpd.conf";
else
CONFIG="$PREFIX/etc/mpd.conf";
fi
exec mpd --stdout --no-daemon $CONFIG 2>&1