fix-startup

This commit is contained in:
simono41 2018-08-26 19:47:05 +02:00
parent b9aa30cede
commit cc55b99ecd

12
startup
View file

@ -9,17 +9,17 @@ date >> /startup.log
startparameter=$(cat /proc/cmdline) startparameter=$(cat /proc/cmdline)
# for-schleife # for-schleife
for wort in ${startparameter} for wort in ${startparameter}
do do
echo "$wort" echo "$wort"
export ${wort%=*}=${wort#*=} export ${wort%=*}=${wort#*=}
echo "Parameter ${wort%=*} = ${wort#*=}" echo "Parameter ${wort%=*} = ${wort#*=}"
done done
if [ -n "${run}" ]; then if [ -n "${run}" ]; then
echo "${run}" echo "${run}"
sleep 5 #sleep 5
${run} ${run}
fi fi
# Disable IPv6 # Disable IPv6