2007-01-17 20:36:30 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
|
|
|
|
START=99
|
|
|
|
start() {
|
|
|
|
[ -d /tmp/.shell-fm ] || mkdir /tmp/.shell-fm
|
|
|
|
[ -L /tmp/.shell-fm/shell-fm.rc ] || ln -s /etc/shell-fm.rc /tmp/.shell-fm/shell-fm.rc
|
2012-04-02 16:20:00 +00:00
|
|
|
[ -L /tmp/.libao ] || ln -s /etc/libao.conf /tmp/.libao
|
2007-01-17 20:36:30 +00:00
|
|
|
HOME=/tmp shell-fm -d
|
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
|
|
|
echo "quit" | telnet localhost 54311
|
|
|
|
}
|