aboutsummaryrefslogblamecommitdiff
path: root/bin/sls
blob: df8625de4c686c708ac27f6564d5ca9653c2bcec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                        



                                                       
  



                                                                    
            
#!/bin/sh
if [ "$#" -eq 0 ] ; then
    for cfg in /etc/ssh_config "$HOME"/.ssh/config ; do
        [ -e "$cfg" ] || continue
        set -- "$@" "$cfg"
    done
fi
if [ "$#" -eq 0 ] ; then
    printf >&2 'sls: ssh_config(5) paths not found, need argument\n'
    exit 1
fi
slsf -- "$@"