remove write_args_quick_load_file

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK 2021-05-08 10:24:40 +02:00
parent 6e008cc539
commit d6ba530bf1
1 changed files with 0 additions and 18 deletions

View File

@ -1,18 +0,0 @@
#!/bin/sh
# Write quick load file args
QUICK_LOAD_FILE=/mnt/quick_load_cmd
echo -n "" > $QUICK_LOAD_FILE
for i in "$@"; do
if $(echo "$i" | egrep -q '[[:space:]]'); then
# Add quotes around arguments containing spaces
echo -n "\"$i\" " >> ${QUICK_LOAD_FILE}
else
echo -n "$i " >> ${QUICK_LOAD_FILE}
fi
done
echo "" >> ${QUICK_LOAD_FILE}
exit 0