summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-08 17:36:50 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-08 17:36:50 +0100
commitd3be95d4a09724e325e857d68e98dc5cf74fafcd (patch)
treedb3ad66f5d9106de5212bf9f888891d25f4cbf3d /scripts
parent7ddd3bb28789fc98f01367a4796dc3b4c7e95207 (diff)
downloadvyatta-cfg-d3be95d4a09724e325e857d68e98dc5cf74fafcd.tar.gz
vyatta-cfg-d3be95d4a09724e325e857d68e98dc5cf74fafcd.zip
vyos-router: remove whitespaces
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init/vyos-router12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index 30682d6..3604b78 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -139,7 +139,7 @@ run_postupgrade_script ()
fi
}
-#
+#
# On image booted machines, we need to mount /boot from the image-specific
# boot directory so that kernel package installation will put the
# files in the right place. We also have to mount /boot/grub from the
@@ -152,18 +152,18 @@ bind_mount_boot ()
if [ $? == 0 ]; then
if [ -e $persist_path/boot ]; then
image_name=$(cat /proc/cmdline | sed -e s+^.*vyos-union=/boot/++ | sed -e 's/ .*$//')
-
+
if [ -n "$image_name" ]; then
mount --bind $persist_path/boot/$image_name /boot
-
+
if [ $? -ne 0 ]; then
echo "Couldn't bind mount /boot"
fi
-
+
if [ ! -d /boot/grub ]; then
mkdir /boot/grub
fi
-
+
mount --bind $persist_path/boot/grub /boot/grub
if [ $? -ne 0 ]; then
echo "Couldn't bind mount /boot/grub"
@@ -278,7 +278,7 @@ start ()
run_postupgrade_script
for s in ${subinit[@]} ; do
- if ! disabled $s; then
+ if ! disabled $s; then
log_progress_msg $s
if ! ${vyatta_sbindir}/${s}.init start
then log_failure_msg