OSSP CVS Repository

ossp - ossp-pkg/rc/rc_test/rc.ntp
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/rc/rc_test/rc.ntp
#! /bin/sh

echo "Run commands NTP starting"

%config
    echo "Starting ntp config section"

%common
    echo "Dis ist de commun sektion von ntp"

%test
    echo "Just an echo to test ntp"

%start -p100 -u root
    echo "Pri 100"
    opServiceEnabled ntp || exit 0
    /sw/sbin/ntp >/dev/null 2>&1

%go -umschloh
    ping -s design-web.co.uk 56 4
    curl -s ftp://ftp.openpkg.org/current/SRC/ | grep openssl
    echo $0

    echo "And again..."

%stop -p 200 -u root
    kill -TERM `cat /sw/var/ntp/ntp.pid`

echo "Run commands NTP finishing"
echo


CVSTrac 2.0.1