From 53084523904692b7ea3f098cff7abbee48aee64b Mon Sep 17 00:00:00 2001 From: anntnzrb Date: Mon, 23 Aug 2021 15:33:45 -0500 Subject: [PATCH] Prefer pkill over killall --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 410b748..9cacb1e 100644 --- a/larbs.sh +++ b/larbs.sh @@ -242,7 +242,7 @@ grep -q "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" /etc/conf.d/fluidsynth echo "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" >> /etc/conf.d/fluidsynth # Start/restart PulseAudio. -killall pulseaudio; sudo -u "$name" pulseaudio --start +pkill -15 -x 'pulseaudio'; sudo -u "$name" pulseaudio --start # This line, overwriting the `newperms` command above will allow the user to run # serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.