convert tty to udev name, start a bit earlier to avoid a race condition
authorAndrew Wilcox <andy@protium.com>
Wed, 16 Jan 2008 01:30:01 +0000 (01:30 +0000)
committerAndrew Wilcox <andy@protium.com>
Wed, 16 Jan 2008 01:30:01 +0000 (01:30 +0000)
packages/sccd/files/scc.h
packages/sccd/sccd_1.0.bb

index 611092f..b920791 100644 (file)
@@ -33,7 +33,7 @@
  */
 
 #define SCC_PIDFILE            "/var/run/sccd.pid"
-#define SCC_DEVICE             "/dev/tts/1"
+#define SCC_DEVICE             "/dev/ttyS1"
 #define SCC_SOCKET             "/dev/sccd"
 
 #define SCC_PACKETLEN          8
index 5eeaeef..bf25fbe 100644 (file)
@@ -1,7 +1,7 @@
-DECSCRIPTION = "StorCenter Control Daemon - controls the leds, fans, softpower"
+DECSCRIPTION = "StorCenter Control Daemon controls leds, fans, softpower"
 SECTION = "utils"
 LICENSE = "BSD"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "file://scc.h \
           file://scc.c \
@@ -14,7 +14,7 @@ SRC_URI = "file://scc.h \
 
 inherit autotools update-rc.d
 
-INITSCRIPT_PARAMS = "defaults 91 20"
+INITSCRIPT_PARAMS = "defaults 9 9"
 INITSCRIPT_NAME = "sccd"
 
 do_unpack() {