summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/profile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-10-22 20:47:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-10-22 20:47:19 +0000
commit0884467ae874c7516539bd06c491459b059f1a1b (patch)
treebe10daf071a2273de55d656d65f4a5fa334ea087 /openwrt/package/base-files/default/etc/profile
parent5b6b1930b0e410df9a770e36cd9d0361dc7a9566 (diff)
downloadmtk-20170518-0884467ae874c7516539bd06c491459b059f1a1b.zip
mtk-20170518-0884467ae874c7516539bd06c491459b059f1a1b.tar.gz
mtk-20170518-0884467ae874c7516539bd06c491459b059f1a1b.tar.bz2
sync base-files with whiterussian
SVN-Revision: 2260
Diffstat (limited to 'openwrt/package/base-files/default/etc/profile')
-rw-r--r--openwrt/package/base-files/default/etc/profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/profile b/openwrt/package/base-files/default/etc/profile
index 1d98ae3..e3abe69 100644
--- a/openwrt/package/base-files/default/etc/profile
+++ b/openwrt/package/base-files/default/etc/profile
@@ -9,3 +9,4 @@ alias vim=vi
arp() { cat /proc/net/arp; }
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
+reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }