Skip to content

Commit 6936fef

Browse files
committed
[fix] : Fix script permission
1 parent b1d43a5 commit 6936fef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

channels/releng/airootfs.any/root/customize_airootfs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ cp -aT /etc/skel/ /root/
8181
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
8282
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
8383

84+
if [[ -e "/root/.automated_script.sh" ]]; then
85+
chmod 755 "/root/.automated_script.sh"
86+
fi
87+
8488
# Enable services.
8589
systemctl enable NetworkManager
8690
systemctl enable pacman-init.service

0 commit comments

Comments
 (0)