mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
initscripts: merge OE change of cpuinfo_id to machine_id, fixing gsmd's startup
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5016 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
# shell scripts in the /etc/init.d directory.
|
||||
#
|
||||
|
||||
cpuinfo_id() { # return the Hardware module ID
|
||||
awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
|
||||
machine_id() { # return the machine ID
|
||||
awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
|
||||
}
|
||||
|
||||
killproc() { # kill the named process(es)
|
||||
|
||||
@@ -4,7 +4,7 @@ PRIORITY = "required"
|
||||
DEPENDS = "makedevs"
|
||||
RDEPENDS = "makedevs"
|
||||
LICENSE = "GPL"
|
||||
PR = "r116"
|
||||
PR = "r117"
|
||||
|
||||
SRC_URI = "file://functions \
|
||||
file://halt \
|
||||
|
||||
Reference in New Issue
Block a user