Ignore:
Timestamp:
Feb 21, 2017, 10:57:33 PM (5 years ago)
Author:
obi
Message:

update meinkin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/hoster.sh

    r40063 r40069  
    3232fi
    3333
    34 hoster=`echo $INPUT | tr 'A-Z' 'a-z' | sed 's!http://!!' | sed 's!https://!!' | cut -d'/' -f1 | sed 's/www.//' | tr '.' '\n' | head -n1`
     34hostercheck=`echo $INPUT | tr 'A-Z' 'a-z' | sed 's!://!\n!' | cut -d'/' -f1 | tail -n1 | tr '.' '\n' | wc -l`
     35hosterline=`expr $hostercheck - 1`
     36hoster=`echo $INPUT | tr 'A-Z' 'a-z' | sed 's!://!\n!' | cut -d'/' -f1 | tail -n1 | cut -d"." -f$hosterline`
     37#echo $hoster
    3538
    3639debuglevel=`cat /mnt/config/titan.cfg | grep debuglevel | cut -d"=" -f2`
Note: See TracChangeset for help on using the changeset viewer.