1
0
mirror of https://github.com/elisspace/rtinst.git synced 2026-08-30 16:12:12 +00:00

Update rtinst.sh

This commit is contained in:
arakasi72
2016-01-14 00:13:12 +00:00
parent 93c4bf8b2d
commit 779bf47a96

View File

@@ -23,7 +23,7 @@ FULLREL=$(cat /etc/issue.net)
OSNAME=$(cat /etc/issue.net | cut -d' ' -f1)
RELNO=$(cat /etc/issue.net | tr -d -c 0-9. | cut -d. -f1)
SERVERIP=$(ip a s eth0 | awk '/inet / {print$2}' | cut -d/ -f1)
SERVERIP=$(ip route get 8.8.8.8 | awk 'NR==1 {print $NF}')
WEBPASS=''
cronline1="@reboot sleep 10; /usr/local/bin/rtcheck irssi rtorrent"
cronline2="*/10 * * * * /usr/local/bin/rtcheck irssi rtorrent"