add pi user to ssh group if it exists
This commit is contained in:
parent
72282d9f18
commit
603125326a
5
install
5
install
@ -347,6 +347,11 @@ cat << EOF > ${ioniceCron}
|
|||||||
EOF
|
EOF
|
||||||
chmod 600 ${ioniceCron}
|
chmod 600 ${ioniceCron}
|
||||||
|
|
||||||
|
if getent passwd pi > /dev/null; then
|
||||||
|
echo "Adding pi user to ssh group ..."
|
||||||
|
usermod -a -G ssh pi
|
||||||
|
fi
|
||||||
|
|
||||||
# remove networkmanager and dhcpcd5 then configure networkd
|
# remove networkmanager and dhcpcd5 then configure networkd
|
||||||
if [ ${version} -gt 4 ]; then
|
if [ ${version} -gt 4 ]; then
|
||||||
nic="eth0"
|
nic="eth0"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user