From 6432a731e0e347a617b3b512a611a630e49e4f8a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 2 Nov 2011 11:16:50 +0000 Subject: [PATCH] [packages] ushare: quote server name (#10322) SVN-Revision: 28714 --- multimedia/ushare/Makefile | 4 ++-- multimedia/ushare/files/ushare.init | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multimedia/ushare/Makefile b/multimedia/ushare/Makefile index cb85af387e..471f5cf5f1 100644 --- a/multimedia/ushare/Makefile +++ b/multimedia/ushare/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2009 OpenWrt.org +# Copyright (C) 2008-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ushare PKG_VERSION:=1.1a -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://ushare.geexbox.org/releases/ diff --git a/multimedia/ushare/files/ushare.init b/multimedia/ushare/files/ushare.init index b22a7a22eb..457f582db6 100644 --- a/multimedia/ushare/files/ushare.init +++ b/multimedia/ushare/files/ushare.init @@ -35,7 +35,7 @@ start_service() { append_bool "$section" "disable_telnet" "-t" config_get_bool "enabled" "$section" "enabled" '1' - [ "$enabled" -gt 0 ] && $SSD -x $BIN -c ${username:-nobody} -S -b -p /var/run/ushare.pid -m -- -n ${servername:-OpenWrt} -i ${interface:-br-lan} -c ${content_directories:-/tmp} $args ${options} & + [ "$enabled" -gt 0 ] && $SSD -x $BIN -c ${username:-nobody} -S -b -p /var/run/ushare.pid -m -- -n "${servername:-OpenWrt}" -i ${interface:-br-lan} -c ${content_directories:-/tmp} $args ${options} & } stop_service() { -- 2.30.2