aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ipsec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-07-03 02:45:23 +0000
committerBill Nottingham <notting@redhat.com>2003-07-03 02:45:23 +0000
commitb6cd13d85bec6fca251c80baa7e10fa8ce92daa9 (patch)
tree3c2cd1cbb7bcd95bf30ef0420026fdc2982e4faf /sysconfig/network-scripts/ifup-ipsec
parentc0df5e37a256ede62a402e8e012f319481b75e57 (diff)
downloadinitscripts-b6cd13d85bec6fca251c80baa7e10fa8ce92daa9.tar
initscripts-b6cd13d85bec6fca251c80baa7e10fa8ce92daa9.tar.gz
initscripts-b6cd13d85bec6fca251c80baa7e10fa8ce92daa9.tar.bz2
initscripts-b6cd13d85bec6fca251c80baa7e10fa8ce92daa9.tar.xz
initscripts-b6cd13d85bec6fca251c80baa7e10fa8ce92daa9.zip
make setkey be quiet
Diffstat (limited to 'sysconfig/network-scripts/ifup-ipsec')
-rwxr-xr-xsysconfig/network-scripts/ifup-ipsec8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-ipsec b/sysconfig/network-scripts/ifup-ipsec
index 994c2722..a8d5fe5d 100755
--- a/sysconfig/network-scripts/ifup-ipsec
+++ b/sysconfig/network-scripts/ifup-ipsec
@@ -106,7 +106,7 @@ if [ "$KEYING" = "manual" ]; then
if [ "$MODE" = "host" ]; then
- setkey -c << EOF
+ /sbin/setkey -c >/dev/null 2>&1<< EOF
delete $SRC $DST ah $SPI_AH_OUT;
delete $DST $SRC ah $SPI_AH_IN;
delete $SRC $DST esp $SPI_ESP_OUT;
@@ -136,7 +136,7 @@ EOF
[ -n "$SRCNET" ] && SRCNET="$SRC/32"
[ -n "$DSTNET" ] && DSTNET="$DST/32"
- /sbin/setkey -c << EOF
+ /sbin/setkey -c >/dev/null 2>&1 << EOF
delete $SRC $DST ah $SPI_AH_OUT;
delete $DST $SRC ah $SPI_AH_IN;
delete $SRC $DST esp $SPI_ESP_OUT;
@@ -170,7 +170,7 @@ if [ "$KEYING" = "automatic" ]; then
[ -z "$ESP_PROTO" ] && ESP_PROTO=3des
if [ "$MODE" = "host" ]; then
- /sbin/setkey -c << EOF
+ /sbin/setkey -c > /dev/null 2>&1 << EOF
spddelete $SRC $DST any -P out;
spddelete $DST $SRC any -P in;
@@ -188,7 +188,7 @@ EOF
[ -n "$SRCNET" ] && SRCNET="$SRC/32"
[ -n "$DSTNET" ] && DSTNET="$DST/32"
- /sbin/setkey -c << EOF
+ /sbin/setkey -c >/dev/null 2>&1 << EOF
spddelete $SRCNET $DSTNET any -P out;
spddelete $DSTNET $SRCNET any -P in;