From c4a6233acd4fb6ec0d62d95bd6a996f2cb5f79fc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 18 May 2015 19:05:11 +0200 Subject: Hardwired path of whoami/id/getent, but we should check all scripts and force PATH in critical ones --- remote/modules/alsa/data/opt/openslx/scripts/alsa-default_card | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/modules/alsa/data/opt') diff --git a/remote/modules/alsa/data/opt/openslx/scripts/alsa-default_card b/remote/modules/alsa/data/opt/openslx/scripts/alsa-default_card index 4edfcdd5..ebdf6043 100755 --- a/remote/modules/alsa/data/opt/openslx/scripts/alsa-default_card +++ b/remote/modules/alsa/data/opt/openslx/scripts/alsa-default_card @@ -12,7 +12,7 @@ if [ -w "/etc" ]; then elif [ -n "$HOME" ]; then FILE="${HOME}/.asoundrc" else - FILE="$(getent passwd root | awk -F ':' '{print $6}')/.asoundrc" + FILE="$(/usr/bin/getent passwd root | awk -F ':' '{print $6}')/.asoundrc" fi if [ -e "${FILE}" -a "x$1" != "x--force" ]; then -- cgit v1.2.3-55-g7522