server/neuter-sync.sh
2024-11-23 18:18:16 +00:00

8 lines
248 B
Bash

#!/bin/sh
mkdir -p /psp/rfs1
if [ ! -e /psp/rfs1/userhook0 ]; then
echo "#!/bin/sh" > /psp/rfs1/userhook0
fi
echo "rm -r /tmp/widgetcache" >> /psp/rfs1/userhook0
echo "ln -s /dev/null /tmp/widgetcache" >> /psp/rfs1/userhook0
echo "Neutered sync."