- Add net_failover and failover modules for virtio_net dependency resolution - Copy modules from both drivers/net and net/ kernel directories - Fixes 'Unknown symbol net_failover_destroy/create' errors when loading virtio_net - Set execute permissions on all zinit init scripts (*.sh files) - Include proper kernel module metadata files (modules.order, modules.builtin, modules.builtin.modinfo) - Expanded module search to include failover-related networking modules - Now includes 77 network driver modules with complete dependency chain - Ensures depmod -a works correctly without warnings - Complete VirtIO network stack functionality with proper script execution
16 lines
455 B
Bash
Executable File
16 lines
455 B
Bash
Executable File
#!/bin/ash
|
|
if [ -f /etc/ssh/ssh_host_rsa_key ]; then
|
|
# ensure existing file permissions
|
|
chown root:root /etc/ssh/ssh_host_*
|
|
chmod 600 /etc/ssh/ssh_host_*
|
|
exit 0
|
|
fi
|
|
|
|
echo "Setting up sshd"
|
|
mkdir -p /run/sshd
|
|
|
|
ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
|
|
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
|
|
ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa -b 521
|
|
ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
|