X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3d007394805916ceb2214bfd7e06d8a4899262c5..4ed1388b2c8c5abef5f656b1d31e15e577179009:/openwrt/package/base-files/default/etc/profile diff --git a/openwrt/package/base-files/default/etc/profile b/openwrt/package/base-files/default/etc/profile index 1d98ae340..e3abe6967 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; }