Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
aae2d521
Commit
aae2d521
authored
Dec 03, 2013
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extra init script
parent
69cf7478
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1560 additions
and
0 deletions
+1560
-0
LICENSE
recipes-core/init-elphel393/files/LICENSE
+1499
-0
init_elphel393
recipes-core/init-elphel393/files/init_elphel393
+28
-0
init-elphel393_1.0.bb
recipes-core/init-elphel393/init-elphel393_1.0.bb
+33
-0
No files found.
recipes-core/init-elphel393/files/LICENSE
0 → 100644
View file @
aae2d521
This diff is collapsed.
Click to expand it.
recipes-core/init-elphel393/files/init_elphel393
0 → 100644
View file @
aae2d521
#!/bin/sh
PATH
=
/sbin:/bin:/usr/sbin:/usr/bin
DAEMON
=
/usr/sbin/init_elphel393
NAME
=
init_elphel393
DESC
=
"extra init scripts"
case
"
$1
"
in
start
)
echo
-n
"Starting
$DESC
: "
echo
"
$NAME
."
;;
stop
)
echo
-n
"Stopping
$DESC
: "
echo
"
$NAME
."
;;
restart|force-reload
)
echo
-n
"Restarting
$DESC
: "
echo
"
$NAME
."
;;
*
)
N
=
/etc/init.d/
$NAME
echo
"Usage:
$N
{start|stop|restart|force-reload}"
>
&2
exit
1
;;
esac
exit
0
recipes-core/init-elphel393/init-elphel393_1.0.bb
0 → 100644
View file @
aae2d521
SUMMARY = "Extra initscripts for the Elphel 10393 board"
DESCRIPTION = "Platform/board specific initializations"
AUTHOR = "Elphel Inc."
HOMEPAGE = "http://www3.elphel.com/"
PRIORITY = "optional"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;beginline=21;endline=699;md5=ccd2fef7dee090f3b211c6677c3e34cc"
SRCDATE = "20131202"
PV = "${SRCDATE}"
PR = "r0"
SRC_URI = "file://init_elphel393 \
file://LICENSE \
"
S = "${WORKDIR}/"
INITSCRIPT_NAME = "init_elphel393"
INITSCRIPT_PARAMS = "defaults 75"
#This needs to get the script into rc?.d/
inherit update-rc.d
do_install_append() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init_elphel393 ${D}${sysconfdir}/init.d
}
PACKAGES = " init-elphel393"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment