commit bd63143f0a31b09de00dfe0cba2d1d4fcbf0c267 Author: Felix Steghofer Date: Tue Jan 16 22:53:58 2018 +0100 init diff --git a/bin/dropbear_ecdsa_host_key b/bin/dropbear_ecdsa_host_key new file mode 100644 index 0000000..c4dd30c Binary files /dev/null and b/bin/dropbear_ecdsa_host_key differ diff --git a/bin/dropbearmulti b/bin/dropbearmulti new file mode 100644 index 0000000..d13071b Binary files /dev/null and b/bin/dropbearmulti differ diff --git a/boot.sh b/boot.sh new file mode 100755 index 0000000..c18b280 --- /dev/null +++ b/boot.sh @@ -0,0 +1,10 @@ +#start npc boot + +cp /npc/sensors/* /etc/sensors/ -Rf + +if [ -e /patch/lib/mt7601Usta_v2.ko ] ; then +insmod /patch/lib/mt7601Usta_v2.ko +fi +sh /npc/do.sh +sync;sync;sync && echo 3 > /proc/sys/vm/drop_caches + diff --git a/do.sh b/do.sh new file mode 100755 index 0000000..af9de07 --- /dev/null +++ b/do.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +cd /npc/ +# TODO add your $password-hash here +sed -i -e 's/root::10933:0:99999:7:::/root:$password-hash:10933:0:99999:7:::/g' /etc/shadow +mkdir -p /etc/dropbear +cp /npc/dropbear_ecdsa_host_key /etc/dropbear/ + +./dropbearmulti dropbear +