Displaying 3 results from an estimated 3 matches for "_procname".
Did you mean:
procname
2002 Jan 18
5
contrib/solaris/opensshd.in patch
...ll
PS=/usr/bin/ps
XARGS=/usr/bin/xargs
prefix=%%openSSHDir%%
--- 8,19 ----
KILL=/usr/bin/kill
PS=/usr/bin/ps
XARGS=/usr/bin/xargs
+ FGREP=/usr/bin/fgrep
+ EGREP=/usr/bin/egrep
+ ME=`/usr/bin/basename $0`
prefix=%%openSSHDir%%
***************
*** 22,29 ****
killproc() {
_procname=$1
! _signal=$2
! ${PS} -u root | ${AWK} '/'"$_procname"'$/ {print $1}' | ${XARGS} ${KILL}
}
--- 25,42 ----
killproc() {
_procname=$1
!
! #The next line finds only the parent of $_procname if it exists
! PID=`${PS} -le -u root| ${FGREP} $_procna...
2001 Oct 17
3
Again: bugs in contrib/solaris/opensshd.in and buildpkg.sh
...nsshd
--- contrib/solaris/opensshd.in Fri Oct 12 23:52:39 2001
+++ contrib/solaris/opensshd.in Wed Oct 17 10:49:00 2001
@@ -8,6 +8,7 @@
EGREP=/usr/bin/egrep
KILL=/usr/bin/kill
PS=/usr/bin/ps
+XARGS=/usr/bin/xargs
prefix=%%openSSHDir%%
etcdir=%%configDir%%
@@ -21,7 +22,7 @@
killproc() {
_procname=$1
_signal=$2
- ${PGREP} ${_procname} | ${HEAD} -1 | ${XARGS} -t -I {} ${KILL}
-${_signal} {}
+ ${PS} -u root|${AWK} '/'"$_procname"'$/ {print $1}'| ${XARGS} ${KILL}
-${_signal}
}
___________________________________________
Dr. J?rg Petersen <j.petersen at msh...
2002 Jul 16
1
opensshd.in
...ripped PRNGd out of it for the time being.
-AWK=/usr/bin/awk
CAT=/usr/bin/cat
KILL=/usr/bin/kill
-PS=/usr/bin/ps
-XARGS=/usr/bin/xargs
prefix=%%openSSHDir%%
etcdir=%%configDir%%
@@ -20,12 +17,6 @@
HOST_KEY_DSA=$etcdir/ssh_host_dsa_key
HOST_KEY_RSA=$etcdir/ssh_host_rsa_key
-killproc() {
- _procname=$1
- _signal=$2
- ${PS} -u root | ${AWK} '/'"$_procname"'$/ {print $1}' | ${XARGS} ${KILL}
-}
-
checkkeys() {
if [ ! -f $HOST_KEY_RSA1 ]; then
@@ -46,8 +37,7 @@
if [ ${PID:=0} -gt 1 -a ! "X$PID" = "X " ]; then
${KILL} ${PID}...