projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa59972
)
suppress errors on ifdown wan when running reboot
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 14 Oct 2005 12:01:56 +0000
(12:01 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 14 Oct 2005 12:01:56 +0000
(12:01 +0000)
SVN-Revision: 2106
openwrt/package/base-files/default/etc/profile
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/profile
b/openwrt/package/base-files/default/etc/profile
index cf7c5bdb911990a822865e8097cdeefe6208ee7b..9f6e0cc18d6024e07fdd4ac0eb251ba5119d5b3b 100644
(file)
--- 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; }