server/neuter-sync.sh

9 lines
248 B
Bash
Raw Normal View History

2024-11-23 18:18:16 +00:00
#!/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."