From 957f3ca5356c6a0d75803c1c131758b383193f14 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 Jun 2011 20:50:29 +0200 Subject: fixed run-scripts for streams --- streams/deepmix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'streams/deepmix') diff --git a/streams/deepmix b/streams/deepmix index 89a1ce8e..b8f8fba8 100755 --- a/streams/deepmix +++ b/streams/deepmix @@ -3,9 +3,8 @@ set -euf CMD="mplayer http://deepmix.ru/deepmix128.pls" function start() { stop - tmux list-sessions && - tmux new-window "$CMD" || - tmux new-session "$CMD" || + tmux start-server + tmux new-session -d "$CMD" } function stop() { pkill mplayer || : -- cgit v1.2.3