#!/bin/sh

#export PATH="/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin"

export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
export ETCDIR="/etc"
export SBINDIR="/sbin"
export HOME="/root"
export BINDIR="/bin"
export SHELL="/bin/bash"
export DATADIR="/usr/share"
export LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib" 

#SYSLOG
/etc/init.d/sysklogd start
/etc/init.d/klogd start
 
# DEVFS (This is only needed for sarge)
#/etc/init.d/devfsd start
 
 
#Makedev
#/etc/init.d/makedev start
 
# PTYs
cd dev
MAKEDEV ptyp
 
# NFS (You need to have portmap and nfs-user-server installed)
#/etc/init.d/portmap start
#/etc/init.d/nfs-common start
#/etc/init.d/nfs-user-server start
 
# Mail (You need to have exim4 installed)
#/etc/init.d/exim4 start
 
# CRON
/etc/init.d/atd start
/etc/init.d/cron start
 
# INETD (This is only available in sarge)
#/etc/init.d/inetd start
 
# Remove no login (For etch you need to add "start" at the end of the line)
/etc/init.d/rmnologin start
 
#SSH (You need to have openssh-server installed)
/etc/init.d/ssh start >/var/log/ssh.log 2>&1
 
# STOP BOOTLOG (For etch you need to add "start" at the end of the line)
/etc/init.d/stop-bootlogd start
/etc/init.d/mysql start
apache2ctl start
