1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-14 18:26:28 +01:00
OpenVoiceOS/buildroot-external/rootfs-overlay/usr/libexec/overlay-setup

13 lines
226 B
Plaintext
Raw Normal View History

2023-04-19 13:22:01 +02:00
#!/bin/sh
# etc persistent overlay
2023-04-19 13:22:01 +02:00
if [ ! -d /mnt/overlay/etc ]; then
mkdir -p /mnt/overlay/etc
cp -a /etc/* /mnt/overlay/etc/
2023-04-19 13:22:01 +02:00
fi
# root home directory
2023-04-19 13:22:01 +02:00
if [ ! -d /mnt/overlay/root ]; then
mkdir -p /mnt/overlay/root
fi