Vpn-wiki

Aus xinux.net
Zur Navigation springen Zur Suche springen
#!/bin/bash
HOSTNAME=$(hostname)
echo =$HOSTNAME=
echo "*/etc/ipsec.conf"
cat /etc/ipsec.conf | sed "s/^./ &/"
echo "*/etc/ipsec.secret"
cat /etc/ipsec.secrets | sed "s/^./ &/"