rc status added and init scripts fixed
This commit is contained in:
1 parent
9990e60387
commit
2e1b587226
8 files changed
+54
-4
No files matched your search
@@ -6,11 +6,13 @@ case "$1" in
|
||||
start)
|
||||
notify "Starting telnet "
|
||||
telnetd -S -p $(cat /etc/openrouter/telnet/port)
|
||||
echo $! > /var/run/telnet.pid
|
||||
check $?
|
||||
;;
|
||||
stop)
|
||||
notify "Stopping telnet "
|
||||
killall telnetd
|
||||
rm /var/run/telnet.pid
|
||||
check $?
|
||||
;;
|
||||
restart|reload)
|
||||
|
||||
Reference in new issue
Block a user