summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/profile
diff options
context:
space:
mode:
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 1d98ae3402..e3abe6967f 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; }