Fix ssh permissions and move ssh defaults file
This commit is contained in:
parent
ba36504d3c
commit
cd8043f92b
|
@ -51,9 +51,11 @@ echo "CONFIG_TARGET_ROOTFS_EXT4FS=n" >> .config
|
||||||
|
|
||||||
# Setup files
|
# Setup files
|
||||||
mkdir -p files/root/.ssh
|
mkdir -p files/root/.ssh
|
||||||
|
chmod 0700 files/root files/root/.ssh
|
||||||
cp ${pwd}/authorized_keys files/root/.ssh/
|
cp ${pwd}/authorized_keys files/root/.ssh/
|
||||||
|
chmod 0400 files/root/.ssh/authorized_keys
|
||||||
mkdir -p files/etc/uci-defaults
|
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 \
|
PACKAGES="kmod-nf-nathelper-extra kmod-rtc-ds1307 \
|
||||||
kmod-usb-audio kmod-usb-net-rtl8152 \
|
kmod-usb-audio kmod-usb-net-rtl8152 \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user