Hi.
Hab neuerdings ein Problem mit dem nvram-wakeup, um genauer zu sein, mit dem shutdown-hook bei meiner c't-Distri.
Ich finde folgenden Fehler:
Code
/usr/share/vdr/shutdown-hooks/S90.nvram-wakeup: line 50: [: -eq: unary operator expected
/usr/share/vdr/shutdown-hooks/S90.nvram-wakeup: line 50: [: too many arguments
--syslog parameter specified. All output goes to the syslog
Die betreffenden Zeilen in dem nvram-Skript sind:
Code
TIMER=$1
if [ $REGULAR_DAYS -gt 0 ]; then
REGULAR_TIMER=$((`date -d "$REGULAR_TIME" +%s` + $REGULAR_DAYS * 24 * 60 * 6
0))
# when no vdr timer is set or vdr timer starts later than regular timer:
if [ $TIMER -eq 0 ] || [ $TIMER -gt 0 -a $REGULAR_TIMER -lt $TIMER ] ; then
TIMER=$REGULAR_TIMER
fi
fi
Alles anzeigen
Zeile 50 ist:
Das Problem ist, dass $1 leer ist und somit die $TIMER-Variable.
Hat jemand eine Idee? Wo kann ich nachschauen? Was für Infos braucht ihr noch?
Danke, für die Hilfe!