Habe ich nicht gesehen, hier ein Auszug der unveränderten debug.cfg
# CONFIGURATION
# SSH
# port
dropbearport="22"
# password
PASSWD='****'
# Etherwake
# MAC address
wolmac="01:23:45:67:89:AB"
# interface to use for WOL
# intf = std - ata
# eth0 = LAN1 - WAN
# eth1 = LAN2 - LAN1
wolinterface="eth0"
# CONFIGURATION END
# change root password
sed -e "/root:/s#^root:[^:]*:#root:${PASSWD}:#" -i /var/tmp/shadow
# wait for server
while !(ping -c 1
www.the-construct.de)
do
sleep 5
done
# create simplified WOL script
echo "${ETHERWAKE} -i ${wolinterface} ${wolmac}" > ./startpc
# load files
# check if file already exists
if [ ! -f /var/tmp/dropbear ]
then
wget -qO /var/tmp/dropbear http://www.the-construct.de/files/${KERNEL_VERSION}/dropbear
fi
# check if file already exists
if [ ! -f /var/tmp/busybox ]
then
wget -qO /var/tmp/busybox http://www.the-construct.de/files/${KERNEL_VERSION}/busybox
fi
# make them executable
chmod +x /var/tmp/dropbear
chmod +x /var/tmp/busybox
chmod +x /var/tmp/startpc