diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index 5ebd28f..518fcf5 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -53,10 +53,7 @@ echo "CONFIG_TARGET_ROOTFS_EXT4FS=n" >> .config mkdir -p files/root/.ssh cp ${pwd}/authorized_keys files/root/.ssh/ mkdir -p files/etc/uci-defaults -cat << "EOF" > files/etc/uci-defaults/99-custom -echo "PasswordAuthentication no" >> /etc/ssh/sshd_config -/sbin/service sshd restart -EOF +cp ${pwd}/uci_defaults files/etc/uci-defaults/99-custom PACKAGES="kmod-nf-nathelper-extra kmod-rtc-ds1307 \ kmod-usb-audio kmod-usb-net-rtl8152 \ diff --git a/uci_defaults b/uci_defaults new file mode 100644 index 0000000..2e6727a --- /dev/null +++ b/uci_defaults @@ -0,0 +1,2 @@ +echo "PasswordAuthentication no" >> /etc/ssh/sshd_config +/sbin/service sshd restart \ No newline at end of file