[packages] ushare: quote server name (#10322)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28714 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bda5a423ba
commit
e5915edca5
@ -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/
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user