Include /lib/lsb/init-functions in the init script
authorSteve McIntyre <steve@einval.com>
Fri, 5 Sep 2014 15:59:07 +0000 (16:59 +0100)
committerSteve McIntyre <steve@einval.com>
Fri, 5 Sep 2014 15:59:07 +0000 (16:59 +0100)
debian/changelog
debian/fake-hwclock.init

index 60fc1ca..8e3f218 100644 (file)
@@ -1,6 +1,7 @@
 fake-hwclock (0.6) unstable; urgency=medium
 
   * Update Standards-Version to 3.9.5 (no changes needed)
+  * Include /lib/lsb/init-functions in the init script
 
  -- Steve McIntyre <93sam@debian.org>  Fri, 05 Sep 2014 16:56:21 +0100
 
index e8cf653..86ff24a 100644 (file)
@@ -14,6 +14,9 @@
 
 set -e
 
+# Include core init functions if needed
+. /lib/lsb/init-functions
+
 PARAM=/etc/default/fake-hwclock
 if [ -f $PARAM ]; then
     . "$PARAM"