_
This commit is contained in:
parent
34be273e3b
commit
c8ef79f1ef
|
@ -13,8 +13,8 @@ else
|
||||||
sha1sum /tmp/master.zip > /etc/update_checksum
|
sha1sum /tmp/master.zip > /etc/update_checksum
|
||||||
apt-get update;
|
apt-get update;
|
||||||
echo "Downloading auto-configuration toolkit from $URL"
|
echo "Downloading auto-configuration toolkit from $URL"
|
||||||
cd /tmp/conf && unzip ./master.zip;
|
cd /tmp && unzip ./master.zip;
|
||||||
cd /tmp/conf/tor-router-master && make && make install;
|
cd /tmp/tor-router-master && make && make install;
|
||||||
echo "Unit $(hostname) updated!" | tee >(exec logger);
|
echo "Unit $(hostname) updated!" | tee >(exec logger);
|
||||||
/sbin/reboot
|
/sbin/reboot
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue