|
2013-09-27
, 08:17
|
Posts: 1,163 |
Thanked: 1,873 times |
Joined on Feb 2011
@ The Netherlands
|
#2
|
The Following User Says Thank You to mr_pingu For This Useful Post: | ||
|
2013-09-27
, 08:40
|
|
Posts: 4,117 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#3
|
|
2013-09-28
, 05:58
|
|
Posts: 676 |
Thanked: 1,067 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#4
|
check for presence of file [enable: touch ssh_on_reboot]) to have ssh aauto started after reboot?
Since some version, it was disabled. I made me a workaround (I cannot remember right now ) to have ssh on automatically after boot.
The Following 2 Users Say Thank You to int_ua For This Useful Post: | ||
|
2013-09-28
, 19:04
|
|
Posts: 4,117 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#5
|
description "starting my own mounts and swaps" author "peterleinchen" #start on MOUNTS_OK start on started ke-recv stop on starting shutdown console output env logFile=/dev/null #env logFile=/home/user/.out_mystart pre-start script if [ -f $logFile.3 ] then rm $logFile.3 fi if [ -f $logFile.2 ] then mv $logFile.2 $logFile.3 fi if [ -f $logFile.1 ] then mv $logFile.1 $logFile.2 fi if [ -f $logFile ] then mv $logFile $logFile.1 fi echo prestart `date` >> $logFile # mmc(s) should be mounted after ke-recv has started, but currently # started notification seems to be emitted before it's actually ready. # this is a temporary workaround, we should fix this in ke-recv or c-r # properly. # peterleinchen: # sleep 4 # under heavy startup conditions (lots of daemons installed) # our N900 (ke-recv daemon) may/will need more than 4s, so I used 30s ## sleep 30 # but now I will check for eMMC and/or SD to be mounted sleep 4 end script script echo start `date` >> $logFile # start up ssh server echo start up SSH server >> $logFile initctl start sshd end script
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-10-01
, 03:00
|
|
Posts: 676 |
Thanked: 1,067 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#7
|
to have ssh aauto started after reboot?
Since some version, it was disabled.
|
2013-10-01
, 14:21
|
|
Posts: 4,117 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#8
|
Maemo-Upgrade-Description: NEW: SSH service switch OFF on start up
Maemo-Upgrade-Description-Ru_ru: Новое: SSH сервис выключается при запуске
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-10-02
, 07:15
|
|
Posts: 676 |
Thanked: 1,067 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#9
|
system("sudo /usr/sbin/ssh-status.sh stop")
The Following 2 Users Say Thank You to int_ua For This Useful Post: | ||
|
2013-10-05
, 06:24
|
|
Posts: 676 |
Thanked: 1,067 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#10
|
make: *** No rule to make target `configure', needed by `config.status'. Stop.
$ dpkg-buildpackage -sa -S -d -I.git -rsudo
http://maemo.org/downloads/product/Maemo5/ssh-status/
http://maemo.org/packages/view/ssh-status/
https://garage.maemo.org/projects/ssh-status/
To prevent sshd from starting comment/remove "start on ..." line from /etc/event.d/sshd
It's almost perfect as it is in 0.1-9 but I wanted to add just one more line to the stopping code:
I've contacted Andrei and he said he wouldn't mind me uploading a new version.
Last edited by int_ua; 2014-01-12 at 01:49.