File: ntpwait

package info (click to toggle)
ntp 1%3A4.2.8p15%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 32,776 kB
  • sloc: ansic: 242,968; sh: 6,859; makefile: 3,419; perl: 2,765; yacc: 1,524; python: 1,486; ruby: 817; awk: 417; sed: 47; asm: 37
file content (15 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

NTPWAIT=/usr/sbin/ntpwait

ntpwait_start() {
    $NTPWAIT -v
}

case "$1" in
    'start')
        ntpwait_start
        ;;
    *)
        echo "Usage: $0 (start)"
esac