diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | README.grub2 | 46 | ||||
-rw-r--r-- | etc/conf.d/vdr | 4 |
4 files changed, 54 insertions, 4 deletions
@@ -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, @@ -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 # |