From 9cf6f9e890036324ab1554fd4f42b4279d9e3e66 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 14 Oct 2005 12:01:56 +0000 Subject: [PATCH] suppress errors on ifdown wan when running reboot SVN-Revision: 2106 --- openwrt/package/base-files/default/etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/base-files/default/etc/profile b/openwrt/package/base-files/default/etc/profile index cf7c5bdb91..9f6e0cc18d 100644 --- a/openwrt/package/base-files/default/etc/profile +++ b/openwrt/package/base-files/default/etc/profile @@ -9,4 +9,4 @@ alias vim=vi arp() { cat /proc/net/arp; } ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } -reboot() { ifdown wan; /sbin/reboot; } +reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; } -- 2.30.2