Make dash module use new check functionality

master
Victor Lowther 2009-03-06 14:27:03 -06:00
parent 8d02da427b
commit 4ca2254668
2 changed files with 4 additions and 4 deletions

2
modules.d/00dash/check Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
[ -x /bin/dash ]

View File

@ -1,6 +1,4 @@
#!/bin/bash
# Prefer dash as /bin/sh if it is available.
if [[ -f /bin/dash ]]; then
inst /bin/dash
ln -sf /bin/dash "${initdir}/bin/sh"
fi
inst /bin/dash
ln -sf /bin/dash "${initdir}/bin/sh"