Subversion Repositories livecd

Rev

Rev 69 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69 Rev 97
Line 137... Line 137...
137
[ -x /usr/sbin/unionctl.static ] && cp -a /usr/sbin/unionctl.static $INITRD_TREE/bin/unionctl 
137
[ -x /usr/sbin/unionctl.static ] && cp -a /usr/sbin/unionctl.static $INITRD_TREE/bin/unionctl 
138
ln -s busybox $INITRD_TREE/bin/ash
138
ln -s busybox $INITRD_TREE/bin/ash
139
ln -s busybox $INITRD_TREE/bin/sh
139
ln -s busybox $INITRD_TREE/bin/sh
140
ln -s busybox $INITRD_TREE/bin/[
140
ln -s busybox $INITRD_TREE/bin/[
141
 
141
 
-
 
142
BUSYBOXCMDS="ash awk basename cat chmod chown chroot \
-
 
143
        clear cp cut dd df dirname du echo egrep eject \
-
 
144
        expr false fdisk fgrep find free grep gunzip halt \
-
 
145
        hdparm head hostname ifconfig ifdown ifup insmod \
-
 
146
        kill killall last ln logger losetup ls lsmod md5sum \
-
 
147
        mkdir mkfifo mknod mkswap mktemp more \
-
 
148
        mount mv pivot_root poweroff ps pwd readlink realpath \
-
 
149
        reboot rm rmdir rmmod route sed sh sleep sort \
-
 
150
        swapoff swapon sync tail tar tee test touch tr \
-
 
151
        true umount uname uniq vi wc xargs zcat"
-
 
152
 
-
 
153
for c in $BUSYBOXCMDS; do
-
 
154
    ln -s busybox $INITRD_TREE/bin/$c
-
 
155
done
-
 
156
 
142
# dhcp startup script
157
# dhcp startup script
143
cp static-binaries/udhcpc.script $INITRD_TREE/bin
158
cp static-binaries/udhcpc.script $INITRD_TREE/bin
144
ln -s ../bin/busybox $INITRD_TREE/sbin/ifconfig
159
ln -s ../bin/busybox $INITRD_TREE/sbin/ifconfig
145
 
160
 
146
# lspci and pcitable for network card detection
161
# lspci and pcitable for network card detection