diff --git a/initramfs/luksrku-script b/initramfs/luksrku-script index 7d30be1..d04ca3b 100755 --- a/initramfs/luksrku-script +++ b/initramfs/luksrku-script @@ -20,12 +20,14 @@ case $1 in ;; esac -ETH_DEV="eno1" -ETH_IP="192.168.1.29" -ETH_NETMASK="255.255.255.0" +. /scripts/functions +configure_networking -/bin/ifconfig "$ETH_DEV" up "$ETH_IP" netmask "$ETH_NETMASK" -/bin/ip route add default dev "$ETH_DEV" +#ETH_DEV="eno1" +#ETH_IP="192.168.1.29" +#ETH_NETMASK="255.255.255.0" +#/bin/ifconfig "$ETH_DEV" up "$ETH_IP" netmask "$ETH_NETMASK" +#/bin/ip route add default dev "$ETH_DEV" /sbin/luksrku --server-mode -v -k /etc/luksrku-server.bin exit 0