mkdir -p /fs/config/
fi
+mkdir /var/www/data/stats
+chmod 777 /var/www/data/stats
+
if [ ! -f /fs/config/dropbear.tar ]
then
RD=`pwd`
if [ -d /var/www/data ]
then
-
- mknod /var/www/data/reboot p
- (cat > /var/www/data/reboot; reboot)&
-
- cldate=`date '+%d.%m.%Y'`
- touch /var/www/data/ntp.log.$cldate
-
- (while(true); do date '+%s' >> /var/www/data/ntp.log.$cldate; ntpq -c lpe -n >> /var/www/data/ntp.log.$cldate; sleep 30; done) &
+ /opt/reboot_daemon.sh > /dev/null 2>&1 &
+ /opt/restart_ssh_daemon.sh > /dev/null 2>&1 &
+ /opt/stats_daemon.sh > /dev/null 2>&1 &
fi
+