mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
[icecast] add minimalistic init script
Signed-off-by: André Gaul <gaul@web-yard.de>
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Example script
|
||||
# Copyright (C) 2014 OpenWrt.org
|
||||
|
||||
START=99
|
||||
STOP=15
|
||||
|
||||
start() {
|
||||
service_start /usr/bin/icecast -c /etc/icecast.xml -b
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /usr/bin/icecast
|
||||
}
|
||||
Reference in New Issue
Block a user