Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,20 @@
#!/bin/sh
PERSIST=/run/mnt-persist
if [ ! -d $PERSIST ]; then
exit 0
fi
for m in var etc home/root; do
if [ ! -d $PERSIST/$m-data ]; then
mkdir -p $PERSIST/$m-data
fi
if [ ! -d $PERSIST/$m-work ]; then
mkdir -p $PERSIST/$m-work
fi
mount overlay /$m -t overlay -o \
lowerdir=/$m,upperdir=$PERSIST/$m-data,workdir=$PERSIST/$m-work
done