aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit970b7bcc234e88327961c1dbb7544452b4f2f528 (patch)
treedc5e3fa715e87b8d2c61e3e3fb71b5f4e6268c10 /package/base-files/default/etc/profile
parente3c6fbd86efeb4821179629f4ca3d0c17902b759 (diff)
downloadupstream-970b7bcc234e88327961c1dbb7544452b4f2f528.tar.gz
upstream-970b7bcc234e88327961c1dbb7544452b4f2f528.tar.bz2
upstream-970b7bcc234e88327961c1dbb7544452b4f2f528.zip
sync base-files with whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2260 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/etc/profile')
-rw-r--r--package/base-files/default/etc/profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/default/etc/profile b/package/base-files/default/etc/profile
index 1d98ae3402..e3abe6967f 100644
--- a/package/base-files/default/etc/profile
+++ b/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; }