Changeset 28945


Ignore:
Timestamp:
2011-11-11T16:46:27+01:00 (5 years ago)
Author:
nico
Message:

packages/anyremote: use new service functions

Location:
packages/utils/anyremote
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/anyremote/Makefile

    r15244 r28945  
    11#  
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2008-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=anyremote 
    1111PKG_VERSION:=4.7.1 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/utils/anyremote/files/anyremote.init

    r11780 r28945  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2008-2011 OpenWrt.org 
     3 
    34START=95 
    45 
     6SERVICE_DAEMONIZE=1 
     7SERVICE_WRITE_PID=1 
     8 
    59start() { 
    6     /usr/sbin/anyremote -f /etc/anyremote.cfg > /dev/null & 
     10        service_start /usr/sbin/anyremote -f /etc/anyremote.cfg 
    711} 
    8      
     12 
    913stop() { 
    10     killall anyremote 
     14        service_stop /usr/sbin/anyremote 
    1115} 
    12          
    13          
Note: See TracChangeset for help on using the changeset viewer.