Hi, > What can be done eg for adding a startup script on the 393 or for adding a > ssh public key for authentication (beside rebuilding and flashing the > firmware) ? > > a. Add it like you would normally do with SysV - script to /etc/init.d, then set a runlevel. b. Edit /etc/init.d/init_elphel393 (around where it's running /etc/elphel393/init_elphel393.py) - its runlevel is 94 c. Edit /etc/elphel393/init_elphel393.py
If you boot from flash to permanently store the changes you will have to run: root@elphel393:~# overlay_sync 1 root@elphel393:~# shutdown -hP now #powercycle PS: > > For the public key there the SSH_ASKPASS workaround, eg s.sh: > > #!/bin/bash > export SSH_ASKPASS=$(mktemp) > echo echo pass > $SSH_ASKPASS > chmod +x $SSH_ASKPASS > setsid -w ssh $USER_AT_HOST $@ > EXIT_STATUS=$? > rm $SSH_ASKPASS > exit $EXIT_STATUS > > ? Regards, Oleg
_______________________________________________ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com