From 9d7f644dfdfe14677ef25c91174e5ce687e29893 Mon Sep 17 00:00:00 2001 From: arakasi72 Date: Wed, 8 Oct 2014 16:49:22 +0100 Subject: [PATCH] Update rtinst.sh --- rtinst.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rtinst.sh b/rtinst.sh index 38c08c8..e1aa495 100644 --- a/rtinst.sh +++ b/rtinst.sh @@ -466,6 +466,10 @@ echo "autodl-irssi update complete" (crontab -u $user -l; echo "$cronline1" ) | crontab -u $user - (crontab -u $user -l; echo "$cronline2" ) | crontab -u $user - + +sshport=$(grep 'Port ' /etc/ssh/sshd_config | sed 's/[^0-9]*//g') +ftpport=$(grep 'listen_port=' /etc/vsftpd.conf | sed 's/[^0-9]*//g') + echo echo "crontab entries made. rtorrent and irssi will start on boot for $user" echo