#! /bin/bash
# /etc/rc.d/rc.inet1
# This script is used to bring up the various network interfaces.
#
# Modified for SLAX by Tomas M. <http://slax.linux-live.org>
#

if [ "$1" = "start" -o "$1" = "" ]; then

   ifconfig lo down 2>/dev/null
   /sbin/ifconfig lo 127.0.0.1 2>/dev/null
   /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo 2>/dev/null

  #  for eth in `ls /sys/class/net | grep -v sit`; do
      # check if dhcpcd is not already running for $eth interface,
      # in that case it was started by hotplug so don't start it again
  #    if [ "$eth" != "lo" -a ! -e /etc/dhcpc/dhcpcd-$eth.pid ]; then
   #     echo "/sbin/dhcpcd -d -t 10 $eth"
   #      /sbin/dhcpcd -d -t 10 $eth
   #   fi
  # done
 fi

#by gerhard:

ifconfig  eth0 10.0.0.159 netmask 255.255.255.0  broadcast 10.0.0.255 up
sleep 4
route add default gw 10.0.0.138
sleep 3
echo "nameserver 195.3.96.67" > /etc/resolv.conf
#rm   -v /root/.config/xfce4/panel/contents.xml.active
sleep 1

cp  -p  -f  -v  /tmp/contents.xml.active  /root/.config/xfce4/panel/contents.xml

cp -p -f -v /tmp/panel.xml  /root/.config/xfce4/mcs_settings/
sleep 2

/usr/X11R6/bin/setxkbmap  -v  de











