blob: 2120eebc1f69607222d78b010d6e2d4aafb20ec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
if [ "x${1}" = 'xconfigure' ]; then
while read link name prio; do
if [ -e "${link}.busybox" ]; then
update-alternatives --install "${link}" "${name}" \
"${link}.busybox" "${prio}"
fi
done <<-EOF
/usr/bin/awk awk 10
/usr/bin/ar ar 10
/usr/bin/strings strings 10
/usr/bin/clear clear 10
/usr/bin/reset reset 10
/usr/bin/mkpasswd mkpasswd 10
EOF
fi
|