From 1ebd61b7cb53ab2190839f993fa5b4ce12b5d53d Mon Sep 17 00:00:00 2001 From: iamromulan <50184035+iamromulan@users.noreply.github.com> Date: Mon, 26 Feb 2024 00:29:14 -0500 Subject: [PATCH] Remove indentations --- installentware.sh | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/installentware.sh b/installentware.sh index 24742e0..05a5537 100644 --- a/installentware.sh +++ b/installentware.sh @@ -77,18 +77,18 @@ create_opt_mount() { # Bind /usrdata/opt to /opt echo -e '\033[32mInfo: Setting up /opt mount to /usrdata/opt...\033[0m' cat < /lib/systemd/system/opt.mount - [Unit] - Description=Bind /usrdata/opt to /opt - - [Mount] - What=/usrdata/opt - Where=/opt - Type=none - Options=bind - - [Install] - WantedBy=multi-user.target - EOF +[Unit] +Description=Bind /usrdata/opt to /opt + +[Mount] +What=/usrdata/opt +Where=/opt +Type=none +Options=bind + +[Install] +WantedBy=multi-user.target +EOF systemctl daemon-reload systemctl start opt.mount @@ -96,17 +96,17 @@ create_opt_mount() { # Additional systemd service to ensure opt.mount starts at boot echo -e '\033[32mInfo: Creating service to start opt.mount at boot...\033[0m' cat < /lib/systemd/system/start-opt-mount.service - [Unit] - Description=Ensure opt.mount is started at boot - After=network.target - - [Service] - Type=oneshot - ExecStart=/bin/systemctl start opt.mount +[Unit] +Description=Ensure opt.mount is started at boot +After=network.target - [Install] - WantedBy=multi-user.target - EOF +[Service] +Type=oneshot +ExecStart=/bin/systemctl start opt.mount + +[Install] +WantedBy=multi-user.target +EOF systemctl daemon-reload ln -s /lib/systemd/system/start-opt-mount.service /lib/systemd/system/multi-user.target.wants/start-opt-mount.service