blob: 2d16b6b88a5ca7c87712261dfa2f319e4b95bb61 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
if grep -qF ' rd.live.overlay=LABEL=persist ' /proc/cmdline; then
# Writing to a file in the root filesystem lets test_run() verify that the autooverlay module successfully created
# and formatted the overlay partition and that the dmsquash-live module used it when setting up the rootfs overlay.
echo "dracut-autooverlay-success" > /overlay-marker
fi
# call the rest of the init
. /sbin/init
|