summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-04 20:19:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-04 20:19:06 +0000
commit4424ed1a10655e9622b287f12955a5a20f5927a8 (patch)
treede047c1bff3a92ff25b09ba4b5d258e3b1d75051 /openwrt/target/default/target_skeleton
parentd676499260575d8eab370c9a65264597b0559e45 (diff)
only set alias less=more when less is not installed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1341 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-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 b63dc8ee3..1d98ae340 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; }