Created
September 26, 2014 15:19
-
-
Save J0s3f/7e4e6c56f24da4234d86 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./busybox --help | \ | |
busybox sed -e '1,/^Currently defined functions:/d' \ | |
-e 's/[ \t]//g' -e 's/,$//' -e 's/,/\n/g' | \ | |
while read app ; do | |
if [ "$app" != "" ]; then | |
printf "linking %-12s ...\n" "$app" | |
busybox ln -sf "./busybox" "$app" | |
busybox ls -ld "$app" | |
fi | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment