removed extra empty lines
This commit is contained in:
6
debian/debian-essentials.sh
vendored
6
debian/debian-essentials.sh
vendored
@@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then
|
||||
echo "Please run as root"
|
||||
@@ -273,7 +272,6 @@ if [ $isInFile -eq 0 ]
|
||||
# fi
|
||||
fi
|
||||
|
||||
|
||||
# authorized_keys akanealw
|
||||
cp /home/akanealw/.ssh/authorized_keys /home/akanealw/.ssh/authorized_keys.bak > /dev/null 2>&1
|
||||
isInFile=$(cat /home/akanealw/.ssh/authorized_keys | grep -c "winpc-akanealw")
|
||||
@@ -292,7 +290,6 @@ if [ $isInFile -eq 0 ]
|
||||
chmod 600 /home/akanealw/.ssh/*
|
||||
fi
|
||||
|
||||
|
||||
# authorized_keys root
|
||||
cp /root/.ssh/authorized_keys /root/.ssh/authorized_keys.bak
|
||||
isInFile=$(cat /root/.ssh/authorized_keys | grep -c "winpc-root")
|
||||
@@ -309,7 +306,6 @@ if [ $isInFile -eq 0 ]
|
||||
chmod 600 /root/.ssh/authorized_keys
|
||||
fi
|
||||
|
||||
|
||||
# config /home/akanealw/.ssh/
|
||||
isInFile=$(cat /home/akanealw/.ssh/config | grep -c "*-root")
|
||||
if [ $isInFile -eq 0 ]
|
||||
@@ -330,7 +326,6 @@ if [ $isInFile -eq 0 ]
|
||||
chmod 600 /home/akanealw/.ssh/*
|
||||
fi
|
||||
|
||||
|
||||
# config /root/.ssh/
|
||||
isInFile=$(cat /root/.ssh/config | grep -c "*-root")
|
||||
if [ $isInFile -eq 0 ]
|
||||
@@ -350,7 +345,6 @@ if [ $isInFile -eq 0 ]
|
||||
chmod 600 /root/.ssh/*
|
||||
fi
|
||||
|
||||
|
||||
# server-akanealw
|
||||
if [[ ! -f /home/akanealw/.ssh/server-akanealw ]]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user