aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2013-03-30 20:10:49 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2013-03-30 20:10:49 +0100
commite38ab1639d643ee19f7ad1ed5cf289914a558859 (patch)
tree51a7fda7d00d62157b554013e9790dc9eab70ff8
parentcleanup from old code, depended for "old" vdr versions (diff)
downloadgentoo-vdr-scripts-e38ab1639d643ee19f7ad1ed5cf289914a558859.tar.gz
gentoo-vdr-scripts-e38ab1639d643ee19f7ad1ed5cf289914a558859.tar.bz2
gentoo-vdr-scripts-e38ab1639d643ee19f7ad1ed5cf289914a558859.zip
more cleanups, added example README.grub2 with example how to use grub2 syntax
-rw-r--r--ChangeLog5
-rw-r--r--README3
-rw-r--r--README.grub246
-rw-r--r--etc/conf.d/vdr4
4 files changed, 54 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6cad7d4..2d0a9b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gentoo-vdr-scripts
# $Id$
+ 30 Mar 2013; Joerg Bornkessel <hd_brummy@gentoo.org> +README.grub2, README,
+ etc/conf.d/vdr:
+ more cleanups, added example README.grub2 with example how to use grub2
+ syntax
+
30 Mar 2013; Joerg Bornkessel <hd_brummy@gentoo.org>
usr/share/vdr/shutdown/pre-shutdown-05-time-calculations.sh, README.vdrcaps,
etc/conf.d/vdr, usr/share/vdr/bin/vdr-bg.sh,
diff --git a/README b/README
index 55b1524..37803c3 100644
--- a/README
+++ b/README
@@ -7,8 +7,9 @@ This package contains all support scripts for vdr to make
it like a real set top box.
Dependencies:
+ >=vdr-1.7.36 earlier versions are not supported
nvram-wakeup when being used for setting wakeup time
Author:
Matthias Schwarzott <zzam@gentoo.org>
- Joerg Bornkessel <hd_brummy@gentoo.org> \ No newline at end of file
+ Joerg Bornkessel <hd_brummy@gentoo.org>
diff --git a/README.grub2 b/README.grub2
new file mode 100644
index 0000000..fc5dce7
--- /dev/null
+++ b/README.grub2
@@ -0,0 +1,46 @@
+# gentoo-vdr-scripts grub2 syntax
+
+# example grub2 entry for reboot and default boot kernel
+# set this
+# /boot/grub2/custom.cfg
+# or
+# /etc/grub.d/40_custom
+
+### reboot kernel
+# some Motherboards need a reboot to write the wakeup time in the BIOS
+
+# <snipp>
+
+## 0 ##
+menuentry 'NVRRAM-Poweroff' {
+set saved_entry='1'
+save_env saved_entry
+set root='(hd0,5)'
+linux (hd0,1)/kernel-default root=/dev/sda5 quiet init=/sbin/poweroff quiet
+}
+
+#</snapp>
+
+# in this case, use of init=/sbin/poweroff to stop the system reboot
+# use of init=/sbin/halt should work too, but is not supported by all Motherboard
+# iam using for boot/reboot the same kernel, the gentoo reboot kernel did not work on my system
+
+
+### default kernel
+# <snipp>
+
+## 1 ##
+menuentry 'VDR - Gentoo' {
+set root='(hd0,5)'
+linux (hd0,1)/kernel-x.y.z root=/dev/sda5
+}
+
+# </snapp>
+
+# in both example is
+# boot partition = /dev/sda1 = (hd0,1)
+# data partition = /dev/sda5
+
+
+# set for the reboot example on top in /etc/conf.d/vdr.shutdown
+REBOOT_ENTRY_GRUB="0"
diff --git a/etc/conf.d/vdr b/etc/conf.d/vdr
index e5b9043..b3d76ba 100644
--- a/etc/conf.d/vdr
+++ b/etc/conf.d/vdr
@@ -15,10 +15,8 @@
# What IR control should be used. Override the default set at
# compile time
-# (Usable at vdr version starting from 1.3.28)
# allowed values: lirc rcu
# default: use no remote
-# (up to vdr-1.3.36-r2: use what was selected by use-flag)
#IR_CTRL="lirc"
###########################################################
@@ -84,7 +82,7 @@
# some people like this :)
# allowed values: yes no
# default: no
-#SHOW_VDR_VERSION=no
+#SHOW_VDR_VERSION=yes
###########################################################
# Terminal Output / Keyboard Input #