@@ -0,0 +1,64 @@
+--- boot.uptimed.blank 2004-01-30 18:04:33.000000000 +0100
++++ boot.uptimed 2004-01-30 18:04:06.000000000 +0100
+@@ -0,0 +1,41 @@
++#!/bin/bash
++# Copyright (c) 2004 linux-administrator.com, Germany. All rights reserved.
++#
++# File: /etc/init.d/boot.uptimed
++# Author: Carsten Schoene <cs@linux-administrator.com>
++#
++### BEGIN INIT INFO
++# Provides: boot.uptimed
++# Required-Start: boot.localfs
++# Required-Stop:
++# Default-Start: B
++# Default-Stop:
++# Description: creates a unique boot id for uptimed
++### END INIT INFO
++
++. /etc/rc.status
++
++rc_reset
++
++case "$1" in
++ start|restart)
++ echo "Creating unique boot id..."
++ /usr/sbin/uptimed -b
++ rc_status -v1 -r
++ ;;
++ stop)
++ rc_failed 3
++ rc_status -v
++ ;;
++ status)
++ rc_failed 4
++ rc_status -v
++ ;;
++ *)
++ echo "Usage: $0 {start|stop|status|restart}"
++ exit 1
++ ;;
++esac
++
++rc_exit
++
+--- etc/rc.uptimed.orig 2004-10-28 01:41:00.431265471 +0200
++++ etc/rc.uptimed 2004-10-28 01:42:32.023657966 +0200
+@@ -2,9 +2,14 @@
+ #
+ # Init file for uptimed
+ #
+-# chkconfig: 2345 95 05
+-# description: Uptimed daemon
+-#
++### BEGIN INIT INFO
++# Provides: uptimed
++# Required-Start: boot.uptimed
++# Required-Stop:
++# Default-Start: 2 3 5
++# Default-Stop: 0 1 6
++# Description: starts uptimed
++### END INIT INFO#
+
+ RETVAL=0
+ NAME="uptimed"
|