summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-02 03:30:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-02 03:30:19 +0000
commit9228eaab5f96c1ac3529af004160925817ddd5b9 (patch)
tree508ea6e2f087404581bb1a49347417d2d11d00cf /etc/rc.initial
parent67d41c1b4770ea3430e36b6fb958c4a527af555c (diff)
downloadpfsense-9228eaab5f96c1ac3529af004160925817ddd5b9.zip
pfsense-9228eaab5f96c1ac3529af004160925817ddd5b9.tar.gz
Add real time traffic logs option to console menu
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index e161859..4fc4934 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -49,6 +49,7 @@ echo " 7) Ping host"
echo " 8) Shell"
echo " 9) PFtop"
echo "10) Invoke Auto Upgrade"
+echo "11) Real time traffic logs"
echo
read -p "Enter a number: " opmode
@@ -93,6 +94,9 @@ case ${opmode} in
/etc/rc.firmware_auto
;;
11)
+ /usr/sbin/tcpdump -n -e -ttt -i pflog0
+ ;;
+12)
if grep "$WORD" "$CONFIG"
then
links "https://localhost"
OpenPOWER on IntegriCloud