diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index 518fcf5..eb75651 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -51,9 +51,11 @@ echo "CONFIG_TARGET_ROOTFS_EXT4FS=n" >> .config # Setup files mkdir -p files/root/.ssh +chmod 0700 files/root files/root/.ssh cp ${pwd}/authorized_keys files/root/.ssh/ +chmod 0400 files/root/.ssh/authorized_keys mkdir -p files/etc/uci-defaults -cp ${pwd}/uci_defaults files/etc/uci-defaults/99-custom +cp ${pwd}/defaults/* files/etc/uci-defaults PACKAGES="kmod-nf-nathelper-extra kmod-rtc-ds1307 \ kmod-usb-audio kmod-usb-net-rtl8152 \ diff --git a/uci_defaults b/defaults/50-sshd similarity index 100% rename from uci_defaults rename to defaults/50-sshd