1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-27 09:14:28 +01:00
OpenVoiceOS/buildroot-external/rootfs-overlay/usr/libexec/overlay-setup

13 lines
226 B
Bash
Executable File

#!/bin/sh
# etc persistent overlay
if [ ! -d /mnt/overlay/etc ]; then
mkdir -p /mnt/overlay/etc
cp -a /etc/* /mnt/overlay/etc/
fi
# root home directory
if [ ! -d /mnt/overlay/root ]; then
mkdir -p /mnt/overlay/root
fi