summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-04 20:19:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-04 20:19:06 +0000
commitb223ca995090528680ffd4689a181c0b96a88779 (patch)
treede047c1bff3a92ff25b09ba4b5d258e3b1d75051 /openwrt
parentdcef53bba25d27067d444c6e70af84ee718aadf4 (diff)
downloadmtk-20170518-b223ca995090528680ffd4689a181c0b96a88779.zip
mtk-20170518-b223ca995090528680ffd4689a181c0b96a88779.tar.gz
mtk-20170518-b223ca995090528680ffd4689a181c0b96a88779.tar.bz2
only set alias less=more when less is not installed
SVN-Revision: 1341
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/target/default/target_skeleton/etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/profile b/openwrt/target/default/target_skeleton/etc/profile
index b63dc8e..1d98ae3 100644
--- a/openwrt/target/default/target_skeleton/etc/profile
+++ b/openwrt/target/default/target_skeleton/etc/profile
@@ -4,7 +4,7 @@
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PS1='\u@\h:\w\$ '
-alias less=more
+[ -x /usr/bin/less ] || alias less=more
alias vim=vi
arp() { cat /proc/net/arp; }