Hi Steve,

I have to stop it first also:

        # Cleaning
        rm -f $CONFIG_NEW
        echo "All done."
+       if [ "$launch_at_startup" = 'true' ]; then
+         if [ -x "/etc/init.d/gnunet" ]; then
+           update-rc.d gnunet defaults >/dev/null
+           if [ -x /usr/sbin/invoke-rc.d ]; then
+             invoke-rc.d gnunet start || exit 0
+           else
+             /etc/init.d/gnunet start || exit 0
+           fi
+         fi
                else
                  if [ -x "/etc/init.d/gnunet" ]; then
                if [ -x /usr/sbin/invoke-rc.d ] ; then
                invoke-rc.d gnunet stop || true
                else
                /etc/init.d/gnunet stop || true
                fi
          fi
                  update-rc.d gnunet remove > /dev/null || true
+       fi
+

I'll replace all "> /dev/null" by "> /dev/null 2>&1"
to prevent "already exist" warnings to the user.

Additionally I'll remove the launch_at_startup test in
gnunet.init .

Arnaud



                
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to