Ignore:
Timestamp:
2011-11-13T23:16:30+01:00 (4 years ago)
Author:
nico
Message:

packages/rp-pppoe: use new service functions, use $(CP) instead of $(INSTALL_*) for packaging stuff installed by upstream Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/rp-pppoe/files/pppoe-server.init

    r15247 r29082  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
     3 
    34START=50 
    45 
     
    78start() { 
    89        [ -f $DEFAULT ] && . $DEFAULT 
    9         pppoe-server $OPTIONS 
     10        service_start /usr/sbin/pppoe-server $OPTIONS 
    1011} 
    1112 
    1213stop() { 
    13         killall pppoe-server 
     14        service_stop /usr/sbin/pppoe-server 
    1415} 
Note: See TracChangeset for help on using the changeset viewer.