mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
20 lines
No EOL
295 B
Bash
Executable file
20 lines
No EOL
295 B
Bash
Executable file
#!/bin/sh /etc/rc.common
|
|
|
|
USE_PROCD=1
|
|
|
|
START=50
|
|
STOP=50
|
|
|
|
PROG=/usr/sbin/dawn
|
|
NAME=dawn
|
|
|
|
start_service()
|
|
{
|
|
echo "Starting Service..."
|
|
procd_open_instance
|
|
procd_set_param command $PROG
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
procd_close_instance
|
|
echo "Dawn instance started!"
|
|
} |