source: packages/net/rp-pppoe/files/pppoe-relay.init @ 29082

Last change on this file since 29082 was 29082, checked in by nico, 4 years ago

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

  • Property svn:eol-style set to native
File size: 245 bytes
Line 
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2006-2011 OpenWrt.org
3
4START=50
5
6DEFAULT=/etc/default/pppoe-relay
7
8start() {
9        [ -f $DEFAULT ] && . $DEFAULT
10        service_start /usr/sbin/pppoe-relay $OPTIONS
11}
12
13stop() {
14        service_stop /usr/sbin/pppoe-relay
15}
Note: See TracBrowser for help on using the repository browser.