Create 33-script-setup.bash

pull/11/head
RandomNinjaAtk 4 years ago committed by GitHub
parent cd9e045aa5
commit 21ebd136e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,25 @@
#!/usr/bin/with-contenv bash
if [ -f /config/scripts/video-pp.bash ]; then
rm /config/scripts/video-pp.bash
fi
if [ ! -f /config/scripts/video-pp.bash ]; then
cp /scripts/video-pp.bash /config/scripts/video-pp.bash
chmod 777 /config/scripts/video-pp.bash
chown abc:abc /config/scripts/video-pp.bash
fi
if [ -f /config/scripts/audio-pp.bash ]; then
rm /config/scripts/audio-pp.bash
fi
if [ ! -f /config/scripts/audio-pp.bash ]; then
cp /scripts/audio-pp.bash /config/scripts/audio-pp.bash
chmod 777 /config/scripts/audio-pp.bash
chown abc:abc /config/scripts/audio-pp.bash
fi
exit $?
Loading…
Cancel
Save