Changeset 21860


Ignore:
Timestamp:
2010-06-21T23:51:04+02:00 (6 years ago)
Author:
jow
Message:

[packages] mtd: make grep for playlist config option more explicit to discard comments (#7499)

Location:
packages/sound/mpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/sound/mpd/Makefile

    r21098 r21860  
    1010PKG_NAME:=mpd 
    1111PKG_VERSION:=0.15.8 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
  • packages/sound/mpd/files/mpd.init

    r20318 r21860  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2010 OpenWrt.org 
    33START=93 
    44 
    55start() { 
    66        #create mpd directories 
    7         pld=`grep playlist_directory /etc/mpd.conf | cut -d "\"" -f 2 | sed "s/~/\/root/g"` 
     7        pld=`grep ^playlist_directory /etc/mpd.conf | cut -d "\"" -f 2 | sed "s/~/\/root/g"` 
    88        if [ ! -d $pld ]; then 
    99                mkdir -p $pld 
Note: See TracChangeset for help on using the changeset viewer.