Merge pull request #15298 from egorenar/icecast

icecast: fix whitespace in init file
This commit is contained in:
Rosen Penev 2021-03-29 13:04:59 -07:00 committed by GitHub
commit 56c51190d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=icecast PKG_NAME:=icecast
PKG_VERSION:=2.4.4 PKG_VERSION:=2.4.4
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://downloads.xiph.org/releases/icecast/ PKG_SOURCE_URL:=https://downloads.xiph.org/releases/icecast/

View file

@ -2,7 +2,7 @@
# Startup script # Startup script
# Copyright (C) 2015 OpenWrt.org # Copyright (C) 2015 OpenWrt.org
USE_PROCD=1 USE_PROCD=1
START=90 START=90
STOP=15 STOP=15
@ -10,7 +10,7 @@ STOP=15
start_service() { start_service() {
user_exists icecast 87 || user_add icecast 87 user_exists icecast 87 || user_add icecast 87
group_exists icecast 87 || group_add icecast 87 group_exists icecast 87 || group_add icecast 87
[ -d /var/log/icecast ] || { [ -d /var/log/icecast ] || {
mkdir -m 0755 -p /var/log/icecast mkdir -m 0755 -p /var/log/icecast
chown icecast:icecast /var/log/icecast chown icecast:icecast /var/log/icecast