danpedron / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

wrong pkill syntax in init scripts #214

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try to stop telnet, ddns, ftpsvc, httpsvc, webserver, syslog

What is the expected output? What do you see instead?
the service won't stop. If you try to stop service from command line you will 
see error message. This is out put from /etc/init.d/telnet stop:
-------------------------------------------------------
# /etc/init.d/telnet stop
Shutting down TELNET service...
pkill: illegal option -- 9
BusyBox v1.18.5 (2011-10-04 22:05:21 CEST) multi-call binary.

Usage: pkill [-l|-SIGNAL] [-fnovx] [-s SID|-P PPID|PATTERN]
------------------------------------------------------- 

What version of the product are you using? On what operating system?
SNAKE OS V1.3.2 (20111007)

Please provide any additional information below.
I modified init script s/pkill -f -9/pkill -9 -f/ and now init scripts work 
again!

Original issue reported on code.google.com by teemu.ku...@gmail.com on 14 Oct 2011 at 2:32

GoogleCodeExporter commented 8 years ago
Thanks, it's already fixed in svn.

The busybox upgrade broke a few things.

Original comment by stefansc...@googlemail.com on 14 Oct 2011 at 4:53

GoogleCodeExporter commented 8 years ago
Please test new firmware:

http://code.google.com/p/snake-os/downloads/detail?name=snakeos-V1.3.2-20111019-
from-original.zip
http://code.google.com/p/snake-os/downloads/detail?name=snakeos-V1.3.2-20111019-
from-snake.zip

Original comment by dwmcqu...@gmail.com on 20 Oct 2011 at 12:30