portmap:
[openwrt/svn-archive/archive.git] / sound / shell-fm / files / shell-fm.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 START=99
5 start() {
6 [ -d /tmp/.shell-fm ] || mkdir /tmp/.shell-fm
7 [ -L /tmp/.shell-fm/shell-fm.rc ] || ln -s /etc/shell-fm.rc /tmp/.shell-fm/shell-fm.rc
8 HOME=/tmp shell-fm -d
9 }
10
11 stop() {
12 echo "quit" | telnet localhost 54311
13 }