Ticket #7898: shell-fm

File shell-fm, 288 bytes (added by uncheckout, 6 years ago)

/etc/init.d/shell-fm

Line 
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2006 OpenWrt.org
3
4START=99
5start() {
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
11stop() {
12        echo "quit" | telnet localhost 54311
13}