Update postinst

This commit is contained in:
Cameron Thompson
2025-01-26 01:29:41 -05:00
committed by GitHub
parent c63b28f196
commit 8de5a5f917

View File

@@ -7,9 +7,12 @@ service mount-fix enable
if grep -qs '/usrdata' /proc/mounts; then
echo "/usrdata is mounted. Enabling at /usrdata..."
cp -P /etc/rc.d/S03mount-fix /usrdata/etc/rc.d/S03mount-fix
rm /usrdata/overlay-work/etc-upper/rc.d/S03mount-fix
cp -P /etc/rc.d/S03mount-fix /usrdata/overlay-work/etc-upper/rc.d/S03mount-fix
fi
service mount-fix start
service mount-fix enable
echo -e "\e[32m sdxpinn-mount-fix installed! Here is the new file structure! \e[0m"
echo -e "\e[32m ============================================================ \e[0m"