summaryrefslogtreecommitdiff
path: root/src/op_mode/show_configuration_files.sh
blob: ad8e0747cc6406b0877de8e43e1afeeb1774915b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# Wrapper script for the show configuration files command
find ${vyatta_sysconfdir}/config/ \
    -type f \
    -not -name ".*" \
    -not -name "config.boot.*" \
    -printf "%f\t(%Tc)\t%T@\n" \
        | sort -r -k3 \
        | awk -F"\t" '{printf ("%-20s\t%s\n", $1,$2) ;}'