diff options
author | Rick Balocca <rbalocca@vyatta.com> | 2008-10-05 12:17:42 -0700 |
---|---|---|
committer | Rick Balocca <rbalocca@vyatta.com> | 2008-10-05 12:17:42 -0700 |
commit | ae869dd261f1a61e38850e4a96508ca47b1d014c (patch) | |
tree | 9dadb20d98b5538e92e384a178347b32892f30ef /scripts/vyatta-show-version | |
parent | d52e090a6a08b5cc1814174e0863536bd4090672 (diff) | |
download | vyatta-op-ae869dd261f1a61e38850e4a96508ca47b1d014c.tar.gz vyatta-op-ae869dd261f1a61e38850e4a96508ca47b1d014c.zip |
Recognize aufs
Diffstat (limited to 'scripts/vyatta-show-version')
-rwxr-xr-x | scripts/vyatta-show-version | 2 |
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 { |