start.sh 334 Bytes
Newer Older
Martin Mai's avatar
-  
Martin Mai committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

sh /root/uniba.de/initial/remove-after-run/setup.sh
rm /root/uniba.de/initial/remove-after-run/setup.sh

mkdir /root/.ssh/

touch /root/.ssh/authorized_keys2
chmod 700 /root/.ssh/authorized_keys2


/sbin/init

service ssh restart
service rsyslog restart
service apache2 restart
service mysql restart
cron
tail -f /start