summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitae Kim <kt920.kim@samsung.com>2013-07-11 13:53:31 +0900
committerKitae Kim <kt920.kim@samsung.com>2013-07-16 19:48:28 +0900
commit3f53b20df016f5f9cc907cdcd24907e57a165718 (patch)
treeb11419b9805cb04d8648b5028042d704d86372f1
parent709ec1e1c4e363d65160c37d084b5c5a14b4761d (diff)
downloadqemu-3f53b20df016f5f9cc907cdcd24907e57a165718.tar.gz
qemu-3f53b20df016f5f9cc907cdcd24907e57a165718.tar.bz2
qemu-3f53b20df016f5f9cc907cdcd24907e57a165718.zip
initscript: Describe LSB information.
LSBInitScripts without description occurs a warning at the execution time. Change-Id: Id9204f4a3fbf9a76e1d17d59124ef87c633fea45 Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
-rwxr-xr-xtizen/distrib/initscript/tizen-kvm12
1 files changed, 12 insertions, 0 deletions
diff --git a/tizen/distrib/initscript/tizen-kvm b/tizen/distrib/initscript/tizen-kvm
index 0900792135..a7bc70cbe2 100755
--- a/tizen/distrib/initscript/tizen-kvm
+++ b/tizen/distrib/initscript/tizen-kvm
@@ -1,4 +1,16 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides: tizen-kvm
+# Required-Start: $local_fs $syslog
+# Required-Stop: $local_fs $syslog
+# Should-Start: udev
+# Should-Stop: udev
+# Default-Start: 2 3 4 5
+# Default-Stop: 1
+# Short-Description: modprobe kvm module.
+# Description: enable kvm module to use hardware virtualization.
+### END INIT INFO
+
do_start () {
if grep -qs "^flags.* vmx" /proc/cpuinfo; then
modprobe -b kvm_intel