For startup im doing small installment and cleaning cache etc and start some application.
So i prepared some shell scripts. This shell scripts work well in slitaz 3.
But in when i try to check in slitaz 4 i realized nohup command doesnt work proper way.
1-) subox is starting automaticly. When client click to OK button subox.sh is executing. (password is autosaved)
2-) With tux user start.sh will execute.
3-) in start.sh is trying to execute firefox and leafpad application.
4-) waiting for 30 seconds and finishing all things.
in this case nohup command is not doing job well and closing firefox application. but its not closing leafpad application.
this one is not happening in slitaz 3.
( i just minimized the codes)
What is the problem? Is something bug or changed in slitaz 4?
# autostart.sh
subox "xterm -e /home/usr/subox.sh" &
# subox.sh
#! /bin/sh
su tux -c '/bin/sh /home/usr/start.sh'
# start.sh
#! /bin/sh
nohup firefox &
nohup leafpad &
sleep 30