Changeset 37154 for titan/mediathek/localhoster/hoster.sh
- Timestamp:
- 02/15/16 01:56:32 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r37148 r37154 3 3 4 4 INPUT=$1 5 6 ARCH=`cat /etc/.arch` 7 debuglevel=`cat /mnt/config/titan.cfg | grep debuglevel | cut -d"=" -f2` 8 curlbin='curl -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies' 9 if [ "$debuglevel" == "99" ]; then curlbin="$curlbin -v"; fi 10 wgetbin="wget -q -T2" 11 TMP=/tmp/localcache 5 12 6 13 hoster=`echo $INPUT | tr 'A-Z' 'a-z' | sed 's!http://!!' | sed 's!https://!!' | cut -d'/' -f1 | sed 's/www.//' | tr '.' '\n' | head -n1`
Note: See TracChangeset
for help on using the changeset viewer.