mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
xserver-nodm-init: add init script depends
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4807 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
|
|||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
SECTION = "x11"
|
SECTION = "x11"
|
||||||
PRIORITY = "optional"
|
PRIORITY = "optional"
|
||||||
PR = "r12"
|
PR = "r13"
|
||||||
|
|
||||||
SRC_URI = "file://xserver-nodm"
|
SRC_URI = "file://xserver-nodm"
|
||||||
S = ${WORKDIR}
|
S = ${WORKDIR}
|
||||||
|
|||||||
@@ -1,4 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: xserver
|
||||||
|
# Required-Start: $local_fs $remote_fs
|
||||||
|
# Required-Stop: $local_fs $remote_fs
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
killproc() { # kill the named process(es)
|
killproc() { # kill the named process(es)
|
||||||
pid=`/bin/pidof $1`
|
pid=`/bin/pidof $1`
|
||||||
|
|||||||
Reference in New Issue
Block a user