File manager - Edit - /home/c14075/dragmet-ural.ru/www/S01openntpd.tar
Back
etc/rc2.d/S01openntpd 0000755 00000003402 15103536265 0010275 0 ustar 00 #!/bin/sh ### BEGIN INIT INFO # Provides: openntpd # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start openntpd at boot time # Description: NTP, the Network Time Protocol, is used to keep the # computer clocks synchronized. ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/ntpd NAME=ntpd USER=ntpd DESC=openntpd test -e /usr/sbin/openntpd || exit 0 test -f /lib/lsb/init-functions || exit 1 . /lib/lsb/init-functions # Include openntpd defaults if available if [ -f /etc/default/openntpd ]; then . /etc/default/openntpd fi set -e case "$1" in start) if [ ! -d "/var/run/openntpd" ]; then mkdir -p /var/run/openntpd fi echo -n "Starting $DESC: " if status_of_proc "$DAEMON" $DESC > /dev/null; then log_begin_msg "Already running." else start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." fi ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --oknodo --quiet --retry=TERM/30/KILL/5 --user root --exec $DAEMON echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " start-stop-daemon --stop --oknodo --quiet --retry=TERM/30/KILL/5 --user root --exec $DAEMON start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; status) start-stop-daemon --test --stop --quiet --user root --exec $DAEMON && \ log_success_msg "OpenNTPd daemon is running." || \ ( log_failure_msg "OpenNTPd daemon is NOT running" && exit 1 ) ;; check) $DAEMON $DAEMON_OPTS "-n" ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload|status|check}" >&2 exit 1 ;; esac exit 0 etc/rc3.d/S01openntpd 0000755 00000003402 15103536666 0010303 0 ustar 00 #!/bin/sh ### BEGIN INIT INFO # Provides: openntpd # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start openntpd at boot time # Description: NTP, the Network Time Protocol, is used to keep the # computer clocks synchronized. ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/ntpd NAME=ntpd USER=ntpd DESC=openntpd test -e /usr/sbin/openntpd || exit 0 test -f /lib/lsb/init-functions || exit 1 . /lib/lsb/init-functions # Include openntpd defaults if available if [ -f /etc/default/openntpd ]; then . /etc/default/openntpd fi set -e case "$1" in start) if [ ! -d "/var/run/openntpd" ]; then mkdir -p /var/run/openntpd fi echo -n "Starting $DESC: " if status_of_proc "$DAEMON" $DESC > /dev/null; then log_begin_msg "Already running." else start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." fi ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --oknodo --quiet --retry=TERM/30/KILL/5 --user root --exec $DAEMON echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " start-stop-daemon --stop --oknodo --quiet --retry=TERM/30/KILL/5 --user root --exec $DAEMON start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; status) start-stop-daemon --test --stop --quiet --user root --exec $DAEMON && \ log_success_msg "OpenNTPd daemon is running." || \ ( log_failure_msg "OpenNTPd daemon is NOT running" && exit 1 ) ;; check) $DAEMON $DAEMON_OPTS "-n" ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload|status|check}" >&2 exit 1 ;; esac exit 0 etc/rc4.d/S01openntpd 0000755 00000003402 15103537007 0010272 0 ustar 00 #!/bin/sh ### BEGIN INIT INFO # Provides: openntpd # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start openntpd at boot time # Description: NTP, the Network Time Protocol, is used to keep the # computer clocks synchronized. ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/ntpd NAME=ntpd USER=ntpd DESC=openntpd test -e /usr/sbin/openntpd || exit 0 test -f /lib/lsb/init-functions || exit 1 . /lib/lsb/init-functions # Include openntpd defaults if available if [ -f /etc/default/openntpd ]; then . /etc/default/openntpd fi set -e case "$1" in start) if [ ! -d "/var/run/openntpd" ]; then mkdir -p /var/run/openntpd fi echo -n "Starting $DESC: " if status_of_proc "$DAEMON" $DESC > /dev/null; then log_begin_msg "Already running." else start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." fi ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --oknodo --quiet --retry=TERM/30/KILL/5 --user root --exec $DAEMON echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " start-stop-daemon --stop --oknodo --quiet --retry=TERM/30/KILL/5 --user root --exec $DAEMON start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; status) start-stop-daemon --test --stop --quiet --user root --exec $DAEMON && \ log_success_msg "OpenNTPd daemon is running." || \ ( log_failure_msg "OpenNTPd daemon is NOT running" && exit 1 ) ;; check) $DAEMON $DAEMON_OPTS "-n" ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload|status|check}" >&2 exit 1 ;; esac exit 0 etc/rc5.d/S01openntpd 0000755 00000003402 15103537152 0010274 0 ustar 00 #!/bin/sh ### BEGIN INIT INFO # Provides: openntpd # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start openntpd at boot time # Description: NTP, the Network Time Protocol, is used to keep the # computer clocks synchronized. ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/ntpd NAME=ntpd USER=ntpd DESC=openntpd test -e /usr/sbin/openntpd || exit 0 test -f /lib/lsb/init-functions || exit 1 . /lib/lsb/init-functions # Include openntpd defaults if available if [ -f /etc/default/openntpd ]; then . /etc/default/openntpd fi set -e case "$1" in start) if [ ! -d "/var/run/openntpd" ]; then mkdir -p /var/run/openntpd fi echo -n "Starting $DESC: " if status_of_proc "$DAEMON" $DESC > /dev/null; then log_begin_msg "Already running." else start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." fi ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --oknodo --quiet --retry=TERM/30/KILL/5 --user root --exec $DAEMON echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " start-stop-daemon --stop --oknodo --quiet --retry=TERM/30/KILL/5 --user root --exec $DAEMON start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; status) start-stop-daemon --test --stop --quiet --user root --exec $DAEMON && \ log_success_msg "OpenNTPd daemon is running." || \ ( log_failure_msg "OpenNTPd daemon is NOT running" && exit 1 ) ;; check) $DAEMON $DAEMON_OPTS "-n" ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload|status|check}" >&2 exit 1 ;; esac exit 0
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.35 |
proxy
|
phpinfo
|
Settings