summaryrefslogtreecommitdiff
path: root/scripts/vyatta-show-log-file
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-show-log-file')
-rwxr-xr-xscripts/vyatta-show-log-file13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/vyatta-show-log-file b/scripts/vyatta-show-log-file
deleted file mode 100755
index caf8ac9..0000000
--- a/scripts/vyatta-show-log-file
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-if [[ "$1" == */* ]]; then
- echo "Invalid log file name"
- exit 1
-fi
-
-if [ -f "/var/log/user/$1" ]; then
- cat /var/log/user/$1
-else
- echo "No such log file"
-fi
-