mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 21:33:56 +08:00
update 2026-09-26 11:07:27
This commit is contained in:
1 parent
7b88b273d0
commit
97ae9f68da
4898 files changed
-1712274
No files matched your search
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2013-2014 OpenWrt.org
|
||||
|
||||
START=99
|
||||
STOP=99
|
||||
|
||||
USE_PROCD=1
|
||||
PROG=/usr/bin/kismet_server
|
||||
NAME=kismet_server
|
||||
|
||||
kismet_server_instance() {
|
||||
procd_open_instance
|
||||
procd_set_param command "${PROG}"
|
||||
procd_append_param command -f /etc/kismet/kismet.conf -s
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
start_service() {
|
||||
config_load "${NAME}"
|
||||
config_foreach kismet_server_instance
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
service_stop "${PROG}"
|
||||
}
|
||||
Reference in new issue
Block a user