summaryrefslogtreecommitdiffstats
path: root/dropbear.pkg/dropbear.init
blob: ff2806b6e24126f799eff2189a25cf0aa653a0ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh /etc/rc.common

START='50'
STOP='60'

start()
{
	log 'Starting dropbear'
	start-stop-daemon -S -q -x /usr/sbin/dropbear
}

stop()
{
	log 'Stopping dropbear'
	start-stop-daemon -K -q -p /var/run/dropbear.pid
}