#!/bin/bash
cd /usr/src/psmisc-*/ ||exit

#--exec-prefix="": put binaries to /bin, because often needed in bootscripts:
./configure --prefix=/usr --exec-prefix="" &&
make &&
make install &&
#there is no need for pstree* in /bin:
mv /bin/pstree* /usr/bin &&
ln -sf pstree /usr/bin/pstree.x11


#only needed if you do not use pidof from sysinitv:
#ln -s killall /bin/pidof
