diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-14 22:34:56 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-14 22:34:56 +0000 |
commit | 9bc942e4071d2040bd26f54783fadfc8394d1f55 (patch) | |
tree | 3b02357b3223de93791cbb916e67aea038e1bdc6 /openwrt/package/peercast/files | |
parent | 060e86ed020c464871e85cdcb14b4b561130022f (diff) |
add peercast package (thanks to Romain Beauxis)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2672 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/peercast/files')
-rw-r--r-- | openwrt/package/peercast/files/peercast.ini | 81 | ||||
-rw-r--r-- | openwrt/package/peercast/files/peercast.init | 18 |
2 files changed, 99 insertions, 0 deletions
diff --git a/openwrt/package/peercast/files/peercast.ini b/openwrt/package/peercast/files/peercast.ini new file mode 100644 index 000000000..b48d3f9f7 --- /dev/null +++ b/openwrt/package/peercast/files/peercast.ini @@ -0,0 +1,81 @@ +
+[Server]
+serverPort = 7144
+autoServe = Yes
+forceIP =
+isRoot = No
+maxBitrateOut = 0
+maxRelays = 1
+maxDirect = 0
+maxRelaysPerChannel = 0
+firewallTimeout = 30
+forceNormal = No
+rootMsg =
+authType = cookie
+cookiesExpire = session
+htmlPath = html/en
+minPGNUIncoming = 10
+maxPGNUIncoming = 20
+maxServIn = 50
+chanLog =
+networkID = 00000000000000000000000000000000
+
+[Broadcast]
+broadcastMsgInterval = 10
+broadcastMsg =
+icyMetaInterval = 8192
+broadcastID = 898145B5C0427118B595AF7D9E110000
+hostUpdateInterval = 180
+maxControlConnections = 3
+rootHost = yp.peercast.org
+
+[Client]
+refreshHTML = 5
+relayBroadcast = 30
+minBroadcastTTL = 1
+maxBroadcastTTL = 7
+pushTries = 5
+pushTimeout = 60
+maxPushHops = 8
+autoQuery = 0
+queryTTL = 7
+
+[Privacy]
+password = hackme
+maxUptime = 0
+
+[Filter]
+ip = 255.255.255.255
+private = No
+ban = No
+network = Yes
+direct = Yes
+[End]
+
+[Notify]
+PeerCast = Yes
+Broadcasters = Yes
+TrackInfo = Yes
+[End]
+
+[Server1]
+allowHTML = Yes
+allowBroadcast = Yes
+allowNetwork = Yes
+allowDirect = Yes
+[End]
+
+[Server2]
+allowHTML = No
+allowBroadcast = Yes
+allowNetwork = No
+allowDirect = No
+[End]
+
+[Debug]
+logDebug = No
+logErrors = No
+logNetwork = No
+logChannel = No
+pauseLog = No
+idleSleepTime = 10
diff --git a/openwrt/package/peercast/files/peercast.init b/openwrt/package/peercast/files/peercast.init new file mode 100644 index 000000000..c61c31438 --- /dev/null +++ b/openwrt/package/peercast/files/peercast.init @@ -0,0 +1,18 @@ +#!/bin/sh + +PID_F=/var/run/peercast.pid + +case $1 in + start) + peercast -d -i /etc/peercast.ini -l /var/log/peercast.log -p $PID_F + ;; + stop) + [ -f $PID_F ] && kill $(cat $PID_F) >/dev/null 2>&1 + ;; + *) + echo "usage: $0 (start|stop)" + exit 1 +esac + +exit $? + |