Commit e5df6046 authored by Martin Peres's avatar Martin Peres
Browse files

initscript/busybox: do not create a symlink for existing commands

This removes a warning at boot, and avoids some potential confusion
if a user were to include a binary that would be overriden by busybox.
parent 434bc3a5
......@@ -11,7 +11,7 @@ function log {
function setup_busybox {
for cmd in `busybox --list`; do
busybox ln -s /bin/busybox /bin/$cmd
[ -f "/bin/$cmd" ] || busybox ln -s /bin/busybox /bin/$cmd
log "Busybox setup: DONE"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment