Matlab 14.3 startup script not executable via yast2
Hi!
I have a minor problem with starting the matlab license manager automatically at boot time. I use the standard matlab startup script in /etc/init.d/ #!/bin/sh case "$1" in start) if [ -f /etc/lmboot_TMW ]; then /etc/lmboot_TMW -u tomatoefish && echo 'MATLAB_lmgrd' fi ;; stop) if [ -f /etc/lmdown_TMW ]; then /etc/lmdown_TMW > /dev/null 2>&1 fi ;; *) echo "Usage: $0 {start|stop}" exit 1 ;; esac exit 0 I can run the script manually, doing script start/stop. However when I try to start this script in yast2 the script stalls the runlevel editor. Stop works as expected. I presume the same happens when I try this at boot time. I think the error might be related to the fact that the lmboot_TMW has to be run as a user and not as root. The same procedure worked on the latest release of fedora. Any suggestions appreciated? Thanks in advance! |
man su; /-c . Does it help?
|
All times are GMT -5. The time now is 06:01 AM. |