2015-05-02 10:24:57 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Nico Schottelius
|
|
|
|
# Fri May 1 17:31:50 CEST 2015
|
|
|
|
|
|
|
|
# [18:09] wurzel:.cdist-ruag% ldd /usr/bin/ls | sed -e 's/=>//' -e 's/(.*//' | awk '{ if(NF == 2) { print $2 } else { print $1 } }'
|
|
|
|
|
|
|
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
|
|
|
2015-05-05 11:53:19 +00:00
|
|
|
pkg="
|
2015-05-02 10:24:57 +00:00
|
|
|
|
2015-05-08 11:42:13 +00:00
|
|
|
bin_list="bash fdisk mount syslinux umount rm mv"
|
2015-05-02 10:24:57 +00:00
|
|
|
|
2015-05-05 11:53:19 +00:00
|
|
|
for bin in command_list; do
|
|
|
|
|
|
|
|
done
|
2015-05-02 10:24:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
|
|
bin=$1
|
|
|
|
|
|
|
|
list=""
|
|
|
|
new_list=$(objdump -p /usr/bin/ls | awk '$1 ~ /NEEDED/ { print $2 }')
|
|
|
|
|
|
|
|
[18:16] wurzel:.cdist-ruag% ldconfig -p | grep 'libBrokenLocale.so.1$' | sed 's/.* => //'
|
|
|
|
|
|
|
|
|
|
|
|
for new_item in $new_list; do
|
|
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
ldconfig -p |
|