Ver Fonte

corrected the debian build scripts to be more lintian clean

Helmut Pozimski há 10 anos atrás
pai
commit
4871949ae3
2 ficheiros alterados com 4 adições e 6 exclusões
  1. 1 1
      debian/control
  2. 3 5
      debian/stdd.init

+ 1 - 1
debian/control

@@ -10,7 +10,7 @@ Standards-Version: 3.9.4
 Package: stdd
 Architecture: all
 Depends: ${misc:Depends}, python (>= 2.7), python-smbus, i2c-tools, python-plctl
-Description: stdd, simple time display daemon
+Description: simple time display daemon
  stdd is a small daemon written in python which displays
  the current time on a 7 segment display from Adafruit attached via i2c
 

+ 3 - 5
debian/stdd.init

@@ -1,13 +1,13 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          stdd
-# Required-Start:    $syslog
-# Required-Stop:     $syslog
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: stdd - the simple time display daemon
 # Description:       Init script for stdd, the simple time
-# display daemon written for the Raspberry PI.
+#	display daemon written for the Raspberry PI.
 ### END INIT INFO
 
 # Author: Helmut Pozimski <helmut@pozimski.eu>
@@ -33,8 +33,6 @@ fi
 # Read configuration variable file if it is present
 [ -r /etc/default/$NAME ] && . /etc/default/$NAME
 
-# Load the VERBOSE setting and other rcS variables
-. /lib/init/vars.sh
 
 # Define LSB log_* functions.
 # Depend on lsb-base (>= 3.2-14) to ensure that this file is present