From 9fc082db65dd35b2e7743d959f8e7433bf842405 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 4 Aug 2011 00:04:03 +0200 Subject: streams/ fixed starter script for streams all stream starter scripts are now symlinks. streams now is able to list all implemented streams --- streams/deepmix | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) mode change 100755 => 120000 streams/deepmix (limited to 'streams/deepmix') diff --git a/streams/deepmix b/streams/deepmix deleted file mode 100755 index b8f8fba8..00000000 --- a/streams/deepmix +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/bash -set -euf -CMD="mplayer http://deepmix.ru/deepmix128.pls" -function start() { - stop - tmux start-server - tmux new-session -d "$CMD" -} -function stop() { - pkill mplayer || : -} -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart) - stop - start - ;; - *) - echo "aidsballs" - ;; -esac diff --git a/streams/deepmix b/streams/deepmix new file mode 120000 index 00000000..b0148d72 --- /dev/null +++ b/streams/deepmix @@ -0,0 +1 @@ +stream-starter \ No newline at end of file -- cgit v1.2.3