Changeset 28930


Ignore:
Timestamp:
2011-11-10T00:49:29+01:00 (6 years ago)
Author:
nico
Message:

packages/cmdpad: use new service wrapper

Location:
packages/utils/cmdpad
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/cmdpad/Makefile

    r16438 r28930  
    11#  
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=cmdpad 
    1111PKG_VERSION:=0.0.3 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 
  • packages/utils/cmdpad/files/cmdpad.init

    r10135 r28930  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2011 OpenWrt.org 
     3 
    34START=93 
    45 
     6SSD_DAEMONIZE=1 
     7 
    58start() { 
    6     /usr/sbin/cmdpad --quiet > /dev/null & 
     9        service_start /usr/sbin/cmdpad --quiet 
    710} 
    8                                                          
     11 
    912stop() { 
    10     killall cmdpad 
     13        service_stop /usr/sbin/cmdpad 
    1114} 
    12                                                                                          
Note: See TracChangeset for help on using the changeset viewer.