Hallo,
nvram funktioniert soweit auf meinem kt4vl und ein Reboot ist nicht nötig!
Fürs setzen habe ich testweise das shutdown.sh Skripte (http://www.vdr-wiki.de/wiki/index.php/Shutdown.sh) ausprobiert, was auch funktioniert.
Nur rebootet er, obwohl er das nicht muss. Das Skipt habe ich schon teilweise angepasst, aber es funzt noch nicht.
ich brauche eigentlich nur die Zeile, die den Timer ausliest und setzt, dann halt und fertig.
Für Tipps wäre ich dankbar.
Gruß, zagadka
Code
# shutdown.sh
WAKEUP_METHOD="nvram"
# read board configuration from specified configuration file (e.g: "/etc/nvram-wakeup.conf")
NVRAM_CONFIG="/etc/nvram-wakeup.conf"
# specify the iw (infowriter) name. (e.g: gigabyte_5aa)
NVRAM_IWNAME=""
# try "nvram-wakeup --help"
NVRAM_OPT="--syslog"
# Which boot manager are you using? (grub/lilo)
BOOT_MANAGER=""
nvram-wakeup -s $TIMER $NVRAM_OPT ${NVRAM_CONFIG:+-C $NVRAM_CONFIG} ${NVRAM_IWNAME:+-I $NVRAM_IWNAME
halt
Alles anzeigen
Code
################################################
## Mainboard autodetection information:
##
## - Mainboard vendor: "MSI"
## - Mainboard type: "MS-6712"
## - Mainboard revision: "1.0"
## - BIOS vendor: "American Megatrends Inc."
## - BIOS version: "Version 07.00T"
## - BIOS release: "04/02/01"
addr_stat = 0x5A
shift_stat = 2
addr_day = 0x5A
shift_day = 3
addr_hour = 0x5B
addr_min = 0x5C
addr_sec = 0x5D
rtc_day = 0x6F
reset_day = ON
rtc_time = ON
addr_chk_h = 0x30
addr_chk_l = 0x31
Alles anzeigen