bb-create-symlinks 1.1 KB

1234567891011
  1. #!/bin/sh
  2. #130217 recompiled bb 1.21.0 with f2fs patch, in aboriginal uclibc f.s. (ref: input216).
  3. BBAPPLETS="'[' '[[' ash basename bbconfig beep blkid blockdev bunzip2 bzcat cat chgrp chmod chown chroot clear cp cut dc dd depmod devmem df dirname dmesg du echo egrep eject expr false fdisk fgrep find findfs free freeramdisk fsync grep gunzip halt hd head hexdump hwclock init insmod kill killall klogd ln loadfont loadkmap logger login logread losetup ls lsmod lsof lspci lsusb mdev mkdir mkdosfs mke2fs mkfs.ext2 mkfs.reiser mkfs.vfat mknod mkswap modinfo modprobe more mount mv passwd pidof pipe_progress pivot_root poweroff printf ps pstree pwd pwdx rdev readlink reboot renice rev rm rmdir rmmod sed seq setfont setkeycodes setlogcons setserial sh sha1sum showkey sleep sort stat swapoff swapon switch_root sync syslogd tail tee test timeout touch tr true tune2fs umount uname uniq unxz usleep volname wc xargs xz xzcat zcat"
  4. for ONEAPPLET in $BBAPPLETS
  5. do
  6. ONEAPPLET="`echo -n "$ONEAPPLET" | tr -d "'"`" #'geany
  7. [ ! -e "$ONEAPPLET" ] && ln -s busybox "$ONEAPPLET"
  8. done