source: packages/net/olsrd/files/olsrd.init @ 5128

Last change on this file since 5128 was 5128, checked in by nbd, 10 years ago

init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 173 bytes
Line 
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2006 OpenWrt.org
3
4DEFAULT=/etc/default/olsrd
5
6start() {
7        [ -f $DEFAULT ] && . $DEFAULT
8        olsrd $OPTIONS
9}
10
11stop() {
12        killall olsrd
13}
Note: See TracBrowser for help on using the repository browser.