http://bugzilla.novell.com/show_bug.cgi?id=538357
User werner@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538357#c26
--- Comment #26 from Dr. Werner Fink 2009-10-07 04:33:40 MDT ---
The part for HWCLOCK looks like this
## Path: System/Environment/Clock
## Description: Information about your timezone and time
## Type: string(-u,--utc,--localtime)
## ServiceRestart: boot.clock
## Command: test -x /sbin/refresh_initrd || /sbin/refresh_initrd
#
# Set to "-u" if your system clock is set to UTC, and to "--localtime"
# if your clock runs that way.
#
HWCLOCK=""
and the script /sbin/refresh_initrd is
#!/bin/bash
#
# Refresh initrd depending on conditions.
# Currently only the change of /etc/sysconfig/clock is
# honoured but we may add more of conditions.
#
# Author: Werner Fink
#
refresh=no
test $ROOT/etc/sysconfig/clock -nt $ROOT/boot/initrd && refresh=yes
test "$refresh" = yes || exit 0
line=off
test -e /proc/splash && read line < /proc/splash
test -r $ROOT/etc/sysconfig/bootsplash && . $ROOT/etc/sysconfig/bootsplash
test "$SPLASH" = no && line=off
if test "${line##*: }" = off ; then
exec $ROOT/sbin/mkinitrd $ROOT
fi
size=${line##*, }
size=${size%)*}
exec $ROOT/sbin/mkinitrd -s $size $ROOT
or we use the same Command tag as in /etc/sysconfig/kernel which whould be
simply /sbin/mkinitrd.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.