~ubuntu-branches/ubuntu/lucid/ntp/lucid

« back to all changes in this revision

Viewing changes to debian/ntpdate.ifup

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-02-25 19:36:36 UTC
  • Revision ID: james.westby@ubuntu.com-20080225193636-nrgs3sx4twsui2ut
Tags: 1:4.2.4p4+dfsg-3ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/ntp.conf, debian/ntpdate.default:
    - Change default server to ntp.ubuntu.com.
  - debian/rules:
    - Call update-rcd-params with multiuser instead defaults.
  - debian/control:
    - Set Ubuntu maintainer address.
    - Update version in conflicts/replaces to that which was shipped in
      edgy, which was later than that in Debian (due to the ubuntuX).
    - Add sysv-rc dependency.
  - debian/ntp-server.postinst:
    - Remove stop script symlinks from rc0 and rc6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
 
3
(
 
4
 
 
5
if [ -r /lib/udev/hotplug.functions ]; then
 
6
        . /lib/udev/hotplug.functions
 
7
        wait_for_file /usr/sbin/ntpdate-debian
 
8
fi
 
9
 
3
10
if [ ! -x /usr/sbin/ntpdate-debian ]; then
4
11
        exit 0
5
12
fi
16
23
        OPTS="-b"
17
24
fi
18
25
 
19
 
/usr/sbin/ntpdate-debian -s $OPTS 2>/dev/null &
 
26
/usr/sbin/ntpdate-debian -s $OPTS 2>/dev/null
 
27
 
 
28
) &