summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/postinst
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-19 16:24:45 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-19 16:24:45 (EST)
commit8e3ec3ad08dfdf18151e01fd23a9d33b6e9c20f4 (patch)
tree0f294a18051b8947953feda30beac165185dbe7f /busybox.pkg/postinst
parent7ed3288dec9c83224130b737961c8981e29ea4c7 (diff)
Manage /usr/bin/mkpasswd with update-alternatives.
This is also provided by expect-doc.
Diffstat (limited to 'busybox.pkg/postinst')
-rwxr-xr-xbusybox.pkg/postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
index 3c1a964..29c3d31 100755
--- a/busybox.pkg/postinst
+++ b/busybox.pkg/postinst
@@ -9,4 +9,6 @@ if [ "x${1}" = 'xconfigure' ]; then
/usr/bin/clear.busybox 10
update-alternatives --install /usr/bin/reset reset \
/usr/bin/reset.busybox 10
+ update-alternatives --install /usr/bin/mkpasswd mkpasswd \
+ /usr/bin/mkpasswd.busybox 10
fi