[oe-commits] org.oe.dev convert tty to udev name, start a bit earlier to avoid a race condition

awilcox commit openembedded-commits at lists.openembedded.org
Wed Jan 16 08:53:17 UTC 2008


convert tty to udev name, start a bit earlier to avoid a race condition

Author: awilcox at openembedded.org
Branch: org.openembedded.dev
Revision: 2a876e0a1476d58a76c93def57e55e14f7555df1
ViewMTN: http://monotone.openembedded.org/revision/info/2a876e0a1476d58a76c93def57e55e14f7555df1
Files:
1
packages/sccd/files/scc.h
packages/sccd/sccd_1.0.bb
Diffs:

#
# mt diff -rf62bbe8d247ebb4026de300ee7b362e92d101100 -r2a876e0a1476d58a76c93def57e55e14f7555df1
#
# 
# 
# patch "packages/sccd/files/scc.h"
#  from [b3b2d52c3a3e0deb83006b5d638ee5f95f758460]
#    to [c5a4e42c0bc8d7d35f7c65438f4a38807c58d512]
# 
# patch "packages/sccd/sccd_1.0.bb"
#  from [35d89f9c2cde0c60fbdc68234088261f3b976d5a]
#    to [3942ef0f1578f30da141ac6e499613fb2d4f4930]
# 
============================================================
--- packages/sccd/files/scc.h	b3b2d52c3a3e0deb83006b5d638ee5f95f758460
+++ packages/sccd/files/scc.h	c5a4e42c0bc8d7d35f7c65438f4a38807c58d512
@@ -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
============================================================
--- packages/sccd/sccd_1.0.bb	35d89f9c2cde0c60fbdc68234088261f3b976d5a
+++ packages/sccd/sccd_1.0.bb	3942ef0f1578f30da141ac6e499613fb2d4f4930
@@ -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 @@ inherit autotools update-rc.d
 
 inherit autotools update-rc.d
 
-INITSCRIPT_PARAMS = "defaults 91 20"
+INITSCRIPT_PARAMS = "defaults 9 9"
 INITSCRIPT_NAME = "sccd"
 
 do_unpack() {






More information about the Openembedded-commits mailing list