mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:03:08 +02:00
made HOME=/root global instead of x86 specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8845 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2e0e79b882
commit
f3aa8f5895
@ -156,6 +156,7 @@ define Package/base-files$(TARGET)/install
|
|||||||
mkdir -p $(1)/usr/bin
|
mkdir -p $(1)/usr/bin
|
||||||
mkdir -p $(1)/sys
|
mkdir -p $(1)/sys
|
||||||
mkdir -p $(1)/www
|
mkdir -p $(1)/www
|
||||||
|
mkdir -p $(1)/root
|
||||||
ln -sf /proc/mounts $(1)/etc/mtab
|
ln -sf /proc/mounts $(1)/etc/mtab
|
||||||
rm -f $(1)/var
|
rm -f $(1)/var
|
||||||
ln -sf /tmp $(1)/var
|
ln -sf /tmp $(1)/var
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
root:!:0:0:root:/tmp:/bin/ash
|
root:!:0:0:root:/root:/bin/ash
|
||||||
nobody:*:65534:65534:nobody:/var:/bin/false
|
nobody:*:65534:65534:nobody:/var:/bin/false
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
[ -f /etc/banner ] && cat /etc/banner
|
[ -f /etc/banner ] && cat /etc/banner
|
||||||
|
|
||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
export HOME=/tmp
|
export HOME=/root
|
||||||
export PS1='\u@\h:\w\$ '
|
export PS1='\u@\h:\w\$ '
|
||||||
|
|
||||||
[ -x /bin/more ] || alias more=less
|
[ -x /bin/more ] || alias more=less
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
define Package/base-files/install-target
|
|
||||||
mkdir -p $(1)/root
|
|
||||||
endef
|
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
|||||||
root:!:0:0:root:/root:/bin/ash
|
|
||||||
nobody:*:65534:65534:nobody:/var:/bin/false
|
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
[ -f /etc/banner ] && cat /etc/banner
|
|
||||||
|
|
||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
||||||
export HOME=/root
|
|
||||||
export PS1='\u@\h:\w\$ '
|
|
||||||
|
|
||||||
[ -x /bin/more ] || alias more=less
|
|
||||||
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
|
|
||||||
|
|
||||||
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
|
|
||||||
|
|
||||||
[ -x /sbin/arp ] || arp() { cat /proc/net/arp; }
|
|
||||||
[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
|
|
Loading…
Reference in New Issue
Block a user