init.hd busybox links an init angepasst

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_initrd@5375 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-02-11 13:11:54 +00:00
parent 26ea8bbe8f
commit 155b67f4a0

31
init.hd
View File

@ -57,18 +57,23 @@ cd /bin
./busybox ln -s busybox ln
cd /bin
./busybox echo "Generating links in /bin for busybox"
for i in [ [[ addgroup adduser ar ash awk basename bunzip2 \
bzcat cat chgrp chmod chown chvt clear cp cpio cut date dc \
dd deallocvt delgroup deluser df diff dirname dmesg du echo \
ed egrep env expr false fgrep find free fuser getopt grep \
gunzip gzip head hostname id insmod ip ipaddr iplink iproute \
iptunnel kill killall last less logger login ls md5sum mesg \
mkdir mknod mktemp more mount mountpoint mt mv netstat newlink \
nslookup passwd patch pidof ping printf ps pwd realpath renice \
reset rm rmdir sed sh sleep sort stat strings stty su sync tail \
tar tee telnet test tftp top touch traceroute true tty umount \
uname uncompress uniq unzip uptime vi wc wget which who whoami \
xargs yes zcat; do
for i in [ [[ acpid addgroup adduser ar arp arping ash awk \
basename brctl bunzip2 bzcat cat chgrp chmod chown \
chvt clear cp cpio cut date dc dd deallocvt delgroup \
deluser depmod df diff dirname dmesg du echo ed egrep \
eject env expand expr false fgrep find free fsck \
fuser getopt grep gunzip gzip head hostname id install\
ip ipaddr iplink iproute iptunnel kbd_mode kill killall\
last less linuxrc loadkmap logger login ls lsmod \
lzmacat makedevs md5sum mdev mesg mkdir mkfifo mknod \
mktemp more mount mountpoint mt mv netstat nice nohup \
nslookup passwd patch pidof ping pkill printf ps pwd \
rdev realpath renice reset rm rmdir sed setconsole \
setkeycodes sh showkey sleep sort split stat strings \
stty su sync tail tar tee telnet test tftp top touch \
traceroute true tty tunctl umount uname uncompress uniq \
unzip uptime usleep vi wc wget which who whoami xargs \
yes zcat; do
ln -s busybox $i
done
cd - 2>&1 >/dev/null
@ -78,7 +83,7 @@ echo "Generating linknames in /sbin for busybox"
for i in chroot fbset fdisk getty halt hdparm hwclock ifconfig \
init insmod losetup lsmod mkswap modprobe nameif pivot_root \
poweroff reboot rmmod route runlevel sulogin swapoff swapon \
switch_root sysctl udevstart; do
switch_root sysctl; do
ln -s /bin/busybox $i
done
cd - 2>&1 >/dev/null