Feature #5529

htpdate init script Debian Wheezy compatibility

Added by Tails 2013-07-18 07:42:22 . Updated 2013-12-22 04:22:04 .

Status:
Resolved
Priority:
Normal
Assignee:
intrigeri
Category:
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

Please make the htpdate init script compatible with Debian Wheezy. I hacked together a version compatible with Wheezy. If you could test if these changes still work with Tails, that would be awesome!

#! /bin/sh
### BEGIN INIT INFO
# Provides:          htpdate
# Required-Start:    mountkernfs $local_fs $remote_fs $syslog networking
# Required-Stop:     $remote_fs $local_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Set time using HTP
# Description:       Set time using HTP
### END INIT INFO

First reply:

Sure, we’ll have to do that at some point. Thanks for pointing it out.

Please note that while this wiki is fine for tracking tickets, the tails-dev ML is better suited for discussing proposed patches. Therefore, I’ll reply with code review results once the discussion is started there.

Bonus points if every proposed atomic change is explained.


Subtasks


History

#1 Updated by intrigeri 2013-07-19 01:52:57

  • Type of work set to Code

Type of work: Code

#2 Updated by intrigeri 2013-10-04 08:02:57

#3 Updated by intrigeri 2013-12-08 14:56:46

  • Assignee set to intrigeri

#4 Updated by intrigeri 2013-12-08 16:19:57

  • Target version set to Tails_1.1

#5 Updated by intrigeri 2013-12-22 04:22:04

  • Status changed from Confirmed to Resolved

The htpdate initscript works fine in feature/wheezy and config/chroot_local-hooks/52-update-rc.d does not complain. I don’t see what the problem would be, closing.