blob: e231a33ade5672a7df2b27b3cee801906109e901 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
apk_add $@
# listen to other port since openssh is using port 22
echo 'DROPBEAR_OPTS="-p 10022"' >/etc/conf.d/dropbear
/etc/init.d/$@ start
pidof $@
/etc/init.d/$@ stop
while pidof $@; do\
echo -n "." >/dev/tty;\
sleep 1;\
done
# while we are here, just check the client as well
dbclient -h
apk_del $@
|