summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2015-07-06 20:25:12 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-07-07 09:35:04 +0200
commitea6d375e95f90c21d019c2ef9b0a654c238d38e2 (patch)
tree0a305c14ee6a0711f0046e5de5c475d70c4c8528 /projectroot
parent49c3a9c8c9f77471cd0003ded359ea39d4942e94 (diff)
downloadptxdist-ea6d375e95f90c21d019c2ef9b0a654c238d38e2.tar.gz
ptxdist-ea6d375e95f90c21d019c2ef9b0a654c238d38e2.tar.xz
procps: switch from procps to procps-ng
The procps package is unmaintained, therefore switch to procps-ng, which is used by many major distributions. Cc: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> [mol: use SF mirror in the URL] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/etc/init.d/chrony10
-rw-r--r--projectroot/usr/bin/chrony_command2
-rw-r--r--projectroot/usr/bin/chrony_stat2
3 files changed, 7 insertions, 7 deletions
diff --git a/projectroot/etc/init.d/chrony b/projectroot/etc/init.d/chrony
index e7e937ae3..d112927f8 100644
--- a/projectroot/etc/init.d/chrony
+++ b/projectroot/etc/init.d/chrony
@@ -63,7 +63,7 @@ stop_proc() {
set_online(){
message_n "Setting NTP server ONLINE ... "
- /bin/pidof chronyd > /dev/null || bailout " chronyd is not running "
+ pidof chronyd > /dev/null || bailout " chronyd is not running "
/usr/bin/chronyc <<-EOF
password $PASSWORD
online
@@ -76,7 +76,7 @@ set_online(){
set_offline(){
message_n "Setting NTP server OFFLINE ... "
- /bin/pidof chronyd > /dev/null || bailout " chronyd is not running "
+ pidof chronyd > /dev/null || bailout " chronyd is not running "
/usr/bin/chronyc <<-EOF
password $PASSWORD
offline
@@ -86,7 +86,7 @@ set_offline(){
}
set_rtc(){
- /bin/pidof chronyd > /dev/null || bailout " chronyd is not running "
+ pidof chronyd > /dev/null || bailout " chronyd is not running "
if [ "$RTC_IOCTL" == "incomplete" ] ; then
# We are running on a system with limited rtc support,
# so we cannot let the ntp client do the job.
@@ -109,7 +109,7 @@ set_rtc(){
}
status(){
- /bin/pidof chronyd > /dev/null || bailout " chronyd is not running "
+ pidof chronyd > /dev/null || bailout " chronyd is not running "
cat <<-EOF | /usr/bin/chronyc
password $PASSWORD
tracking
@@ -118,7 +118,7 @@ status(){
}
statistics(){
- /bin/pidof chronyd > /dev/null || bailout " chronyd is not running "
+ pidof chronyd > /dev/null || bailout " chronyd is not running "
cat <<-EOF | /usr/bin/chronyc
password $PASSWORD
sourcestats
diff --git a/projectroot/usr/bin/chrony_command b/projectroot/usr/bin/chrony_command
index 03a18d0ae..534bde30c 100644
--- a/projectroot/usr/bin/chrony_command
+++ b/projectroot/usr/bin/chrony_command
@@ -19,7 +19,7 @@ bailout(){
KEY=$(awk '$1 ~ /^commandkey$/ { print $2; exit}' /etc/chrony/chrony.conf)
PASSWORD=`awk '$1 ~ /^'$KEY'$/ {print $2; exit}' /etc/chrony/chrony.keys`
-/bin/pidof chronyd > /dev/null || bailout " chronyd is not running "
+pidof chronyd > /dev/null || bailout " chronyd is not running "
/usr/bin/chronyc <<-EOF
password $PASSWORD
$command
diff --git a/projectroot/usr/bin/chrony_stat b/projectroot/usr/bin/chrony_stat
index e86d396db..942ea467b 100644
--- a/projectroot/usr/bin/chrony_stat
+++ b/projectroot/usr/bin/chrony_stat
@@ -81,7 +81,7 @@ esac
done
}
-/bin/pidof chronyd > /dev/null || bailout " chronyd is not running "
+pidof chronyd > /dev/null || bailout " chronyd is not running "
case $1 in
--help)