diff options
Diffstat (limited to 'initrd/distro-specs/suse/functions-9.3')
-rw-r--r-- | initrd/distro-specs/suse/functions-9.3 | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3 index d3573ce0..1fd2ab6d 100644 --- a/initrd/distro-specs/suse/functions-9.3 +++ b/initrd/distro-specs/suse/functions-9.3 @@ -4,7 +4,7 @@ # functions file). This file is the main base for the # following SuSE distributions # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, /28-04-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 30-04-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # @@ -70,8 +70,6 @@ done # second stop # function for ntp configuration config_ntp () { -local start="07" -local stop="14" if [ -f /mnt/etc/${D_INITDIR}/ntp ] ; then if ! strinfile "ntp:" /mnt/etc/passwd ; then echo -e "ntp:x:74:65534:NTP daemon:/var/lib/ntp:/bin/false" \ @@ -85,7 +83,7 @@ if [ -f /mnt/etc/${D_INITDIR}/ntp ] ; then hwclock &>/dev/null && hwclock -w;} ) &" \ >>/mnt/etc/${D_INITDIR}/boot.ld elif [ "x$start_ntp" = "xyes" ] ; then - rllinker "ntp" "$start" "$stop" + rllinker "ntp" "07" "14" fi fi } @@ -190,9 +188,9 @@ chown 50:15 /mnt/var/lib/gdm /mnt/var/log/gdm chmod 0750 /mnt/var/lib/gdm /mnt/var/log/gdm xdmcp_hosts=`echo $x_display_manager|sed -e "s; ;,;"` if [ "${DEBUGLEVEL}" -gt 0 ] ; then - debug="true" + local debug="true" else - debug="false" + local debug="false" fi echo -e "# /etc/opt/gnome/gdm/gdm.conf - file generated by $0\n\ [daemon] @@ -322,9 +320,7 @@ sed -e "s,RC_LANG=.*,RC_LANG=\"${LANG}\" # added in initrd," \ # acpi and powersave config_acpi () { - local start_powersave=10 - local stop_powersave=12 - rllinker powersaved "$start_powersave" "$stop_powersave" + rllinker powersaved "10" "12" } # configure dbus (inter application communication for kde and gnome), hal |