initscript: Describe LSB information.
authorKitae Kim <kt920.kim@samsung.com>
Thu, 11 Jul 2013 04:53:31 +0000 (13:53 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Thu, 11 Jul 2013 05:10:32 +0000 (14:10 +0900)
LSBInitScripts without description occurs a warning at the execution time.

Change-Id: Id9204f4a3fbf9a76e1d17d59124ef87c633fea45
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
tizen/distrib/initscript/tizen-kvm

index 0900792..a7bc70c 100755 (executable)
@@ -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