LABEL=user /opt/usr ext4 defaults,noatime 0 2
EOF
-cat > /usr/lib/systemd/system/resize2fs@.service << EOF
-[Unit]
-Description=Resize of File System on %f
-DefaultDependencies=no
-BindsTo=%i.device
-After=systemd-fsck@%i.service local-fs.target
-Requires=systemd-fsck@%i.service
-Before=shutdown.target
-
-[Service]
-Type=oneshot
-ExecStart=/sbin/resize2fs -f %f
-ExecStartPost=/bin/ln -s /dev/null /etc/systemd/system/resize2fs@%i.service
-StandardOutput=journal+console
-TimeoutSec=0
-EOF
-
-mkdir -p /usr/lib/systemd/system/basic.target.wants
-ln -s ../resize2fs@.service /usr/lib/systemd/system/basic.target.wants/resize2fs@dev-disk-by\\x2dlabel-system\\x2ddata.service
-ln -s ../resize2fs@.service /usr/lib/systemd/system/basic.target.wants/resize2fs@dev-disk-by\\x2dlabel-user.service
-ln -s ../resize2fs@.service /usr/lib/systemd/system/basic.target.wants/resize2fs@dev-disk-by\\x2dlabel-rootfs.service
-