aboutsummaryrefslogtreecommitdiffstats
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
commit8ced96a036b444ff72304ec9159259c6d1605919 (patch)
treec4240a7d3a448b3cc2547fc2af1c51c29b951137
parent244425cb5092aa78d49cfba551c7cd270381e49d (diff)
downloadupstream-8ced96a036b444ff72304ec9159259c6d1605919.tar.gz
upstream-8ced96a036b444ff72304ec9159259c6d1605919.tar.bz2
upstream-8ced96a036b444ff72304ec9159259c6d1605919.zip
only set alias less=more when less is not installed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1341 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/default/target_skeleton/etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/default/target_skeleton/etc/profile b/target/default/target_skeleton/etc/profile
index b63dc8ee32..1d98ae3402 100644
--- a/target/default/target_skeleton/etc/profile
+++ b/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; }