You are not logged in.

#1 2008-10-18 14:30:45

boomshalek
Member
Registered: 2007-10-12
Posts: 95

[SOLVED] Disable systohc for mythtv acpi-wakeup

Hey guys.

I need your help to disable writing system time to Bios when doing a shutdown. I followed this guide to do most configs.
http://www.mythtv.org/wiki/index.php/ACPI_Wakeup
There is a section "Disable hwclock updates " for disabling this for various Distris, but not for Arch. So i searched for rc-scripts with similar content and found /etc/rc.shutdown containing:

...
HWCLOCK_PARAMS="--systohc"
if [ "$HARDWARECLOCK" = "UTC" ]; then
        HWCLOCK_PARAMS="$HWCLOCK_PARAMS --utc"
else
        HWCLOCK_PARAMS="$HWCLOCK_PARAMS --localtime"
fi
if [ "$USEDIRECTISA" = "yes" -o "$USEDIRECTISA" = "YES" ]; then
        HWCLOCK_PARAMS="$HWCLOCK_PARAMS --directisa"
fi
/sbin/hwclock $HWCLOCK_PARAMS
stat_done
...

so i guess i have to set the parameter HWCLOCK_PARAMS="--systohc" differently.

But where do i set the parameter and whats the value/string for it?

I am using localtime BTW.

Help very much appreciated. I am new to Arch,

Last edited by boomshalek (2011-02-28 18:50:08)

Offline

#2 2011-02-28 18:49:33

boomshalek
Member
Registered: 2007-10-12
Posts: 95

Re: [SOLVED] Disable systohc for mythtv acpi-wakeup

After 3 years I took a new approach with ARCH
I guess commenting

# /sbin/hwclock $HWCLOCK_PARAMS

will do the trick

Offline

Board footer

Powered by FluxBB