~ubuntu-branches/debian/sid/adjtimex/sid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): James R. Van Zandt
  • Date: 2006-05-20 08:33:05 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060520083305-axvod1zs0xeu5jcj
Tags: 1.21-1
* New upstream release.  use /dev/rtc if available (closes:#196692). Use
  heuristic to correct for DST changes or lacking --utc flag
  (closes:#308396). check return code in probe_time() so if root
  privileges are needed (e.g. "adjtimex -r") and lacking, command will
  fail rather than printing bogus results. (closes:#364060)

* debian/postinst: start with invoke-rc.d if available (closes:#367746)

* debian/control: update to policy 3.7.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
        db_get adjtimex/run_daemon
94
94
        if [ "$RET" = "true" ]; then
95
95
            update-rc.d adjtimex start 20 S . >/dev/null
96
 
            /etc/init.d/adjtimex start
 
96
    
 
97
            if which invoke-rc.d >/dev/null 2>&1; then
 
98
                invoke-rc.d adjtimex start
 
99
            else
 
100
                /etc/init.d/adjtimex start
 
101
            fi
97
102
        fi
98
103
 
99
104
        db_get adjtimex/compare_rtc