Subversion Repositories livecd

Rev

Rev 169 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 169 Rev 210
Line 63... Line 63...
63
# Xserver configurations
63
# Xserver configurations
64
SCREEN=$( cmdline_value screen )
64
SCREEN=$( cmdline_value screen )
65
 
65
 
66
 
66
 
67
### -----------------------------------------------------------
67
### -----------------------------------------------------------
-
 
68
### Set system clock again (code copied from rc.sysinit)
-
 
69
### -----------------------------------------------------------
-
 
70
ARC=0
-
 
71
SRM=0
-
 
72
UTC=0
-
 
73
 
-
 
74
if [ -f /etc/sysconfig/clock ]; then
-
 
75
   . /etc/sysconfig/clock
-
 
76
 
-
 
77
   # convert old style clock config to new values
-
 
78
   if [ "${CLOCKMODE}" = "GMT" ]; then
-
 
79
      UTC=true
-
 
80
   elif [ "${CLOCKMODE}" = "ARC" ]; then
-
 
81
      ARC=true
-
 
82
   fi
-
 
83
fi
-
 
84
 
-
 
85
CLOCKDEF=""
-
 
86
CLOCKFLAGS="$CLOCKFLAGS --hctosys"
-
 
87
 
-
 
88
case "$UTC" in
-
 
89
    yes|true)   CLOCKFLAGS="$CLOCKFLAGS --utc"
-
 
90
                CLOCKDEF="$CLOCKDEF (utc)" ;;
-
 
91
    no|false)   CLOCKFLAGS="$CLOCKFLAGS --localtime"
-
 
92
                CLOCKDEF="$CLOCKDEF (localtime)" ;;
-
 
93
esac
-
 
94
case "$ARC" in
-
 
95
    yes|true)   CLOCKFLAGS="$CLOCKFLAGS --arc"
-
 
96
                CLOCKDEF="$CLOCKDEF (arc)" ;;
-
 
97
esac
-
 
98
case "$SRM" in
-
 
99
    yes|true)   CLOCKFLAGS="$CLOCKFLAGS --srm"
-
 
100
                CLOCKDEF="$CLOCKDEF (srm)" ;;
-
 
101
esac
-
 
102
 
-
 
103
[ -x /sbin/hwclock ] && /sbin/hwclock $CLOCKFLAGS
-
 
104
action $"Setting clock $CLOCKDEF: `date`" /bin/true
-
 
105
 
-
 
106
 
-
 
107
### -----------------------------------------------------------
68
### Configure services
108
### Configure services
69
### -----------------------------------------------------------
109
### -----------------------------------------------------------
70
 
110
 
71
### save status of services that may be disabled, 
111
### save status of services that may be disabled, 
72
#   if LiveCD mounted over NFS
112
#   if LiveCD mounted over NFS