summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Balocca <rbalocca@vyatta.com>2008-10-05 12:17:42 -0700
committerRick Balocca <rbalocca@vyatta.com>2008-10-05 12:17:42 -0700
commitae869dd261f1a61e38850e4a96508ca47b1d014c (patch)
tree9dadb20d98b5538e92e384a178347b32892f30ef
parentd52e090a6a08b5cc1814174e0863536bd4090672 (diff)
downloadvyatta-op-ae869dd261f1a61e38850e4a96508ca47b1d014c.tar.gz
vyatta-op-ae869dd261f1a61e38850e4a96508ca47b1d014c.zip
Recognize aufs
-rwxr-xr-xscripts/vyatta-show-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-version b/scripts/vyatta-show-version
index f609930..f8f291a 100755
--- a/scripts/vyatta-show-version
+++ b/scripts/vyatta-show-version
@@ -154,7 +154,7 @@ my %options = (
print(&echo_file($versionfile));
print(&echo_file($buildfile));
-my $booted = `grep '^unionfs.*/filesystem.squashfs' /proc/mounts`;
+my $booted = `grep -e '^unionfs.*/filesystem.squashfs' -e '^aufs.*/filesystem.squashfs' /proc/mounts`;
if (defined($booted) && $booted ne "") {
$booted="livecd";
} else {