#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=65
PROG=/usr/bin/kismet_drone
start() {
$PROG
}
stop() {
killall kismet_drone
}
Once this is done do the following:
cd /etc/rc.d
ln -s ../init.d/kismet_drone S65kismet_drone
Now kismet_drone will start whenever the router is restarted. The "stop" command doesn't work very well, I'm still working on fixing that issue.
No comments:
Post a Comment