Create 02-script-setup.bash

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent d21a55aac9
commit 3379935118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,15 @@
#!/usr/bin/with-contenv bash
# Remove existing LAD start script
if [ -f "/config/scripts/AudioPostProcessing.bash" ]; then
rm "/config/scripts/AudioPostProcessing.bash"
sleep 0.1
fi
# Copy AudioPostProcessing into scripts directory
if [ ! -f "/config/scripts/AudioPostProcessing.bash" ]; then
cp "/scripts/AudioPostProcessing.bash" "/config/scripts/AudioPostProcessing.bash"
chmod 0777 "/config/scripts/AudioPostProcessing.bash"
fi
exit 0
Loading…
Cancel
Save