- No more inotifywait or overlay-init-watchdog - Instead, real_rootfs rc.d is mounted back on top of the overlay to allow read/write to it. The bootup rc.d and resulting location rc.d become the same and as a result allowing init to behave naturally without extra help. - Must be on the latest sdxpinn-patch version in order to upgrade this package. The old prerm scripts need removed before upgrading.
22 lines
643 B
Bash
Executable File
22 lines
643 B
Bash
Executable File
#!/bin/ash
|
|
|
|
# Enable and start the services
|
|
echo "Starting services..."
|
|
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
|
|
fi
|
|
|
|
service mount-fix start
|
|
|
|
echo -e "\e[32m sdxpinn-mount-fix installed! Here is the new file structure! \e[0m"
|
|
echo -e "\e[32m ============================================================ \e[0m"
|
|
mount && df -h
|
|
echo -e "\e[32m ============================================================ \e[0m"
|
|
echo -e "\e[32m sdxpinn-mount-fix installed! New file structure above! \e[0m"
|
|
|
|
exit 0
|
|
|