VectorLinux

The nuts and bolts => Software General => Topic started by: hata_ph on January 31, 2009, 12:47:29 am

Title: slapt-update-notifier
Post by: hata_ph on January 31, 2009, 12:47:29 am
I have install slapt-update-notifier-0.4.1 in my VL 5.9 Light but it seem doesn't do anything. Does anyone know how it work and how to congifure it.

EDIT:

It seem the /etc/rc.d/rc.slapt-update-notifier did not auto start at boot time. The rc.slapt-update-notifier is executable. Do i need to put /usr/sbin/slapt-update-notifier to rc.local or can anyone teach me how to auto run the rc.slapt-update-notifier at boot time....
Title: Re: slapt-update-notifier
Post by: stretchedthin on February 02, 2009, 04:40:32 pm
I am also getting no results out of my slapt-get-notifier, on any of the machines which I did a gui-install.  The machine I text installed works fine.

I will watch this thread along with you for an answer, but I'm curious did you install via gui or text install.  I will post on the RC4 development page if it looks like we have discovered a problem with the gui install.
Ken
Title: Re: slapt-update-notifier
Post by: hata_ph on February 02, 2009, 04:53:47 pm
I am also getting no results out of my slapt-get-notifier, on any of the machines which I did a gui-install.  The machine I text installed works fine.

I will watch this thread along with you for an answer, but I'm curious did you install via gui or text install.  I will post on the RC4 development page if it looks like we have discovered a problem with the gui install.
Ken

I compile the package from source and planning to upload it to VL repo for testing. But before it work on my laptop I will not upload it first.
Title: Re: slapt-update-notifier
Post by: uelsk8s on February 02, 2009, 04:56:56 pm
for 5.9 i would add rc.slapt-update-notifier to rc.local
it needs to be started after networking is up.
Title: Re: slapt-update-notifier
Post by: hata_ph on February 02, 2009, 05:00:03 pm
for 5.9 i would add rc.slapt-update-notifier to rc.local
it needs to be started after networking is up.

just put rc.slapt-update-notifier or /usr/sbin/slapt-update-notifier?
Title: Re: slapt-update-notifier
Post by: uelsk8s on February 02, 2009, 08:20:02 pm
/etc/rc.d/rc.slapt-update-notifier start
Title: Re: slapt-update-notifier
Post by: hata_ph on February 05, 2009, 08:07:19 am
Quote
#!/bin/sh
# rc.local
# This file is provided for custom initialization because
# Admin is not encouraged to touch rc.S or rc.M.
#
# This file is launched on the end of entering multi user mode (2-5)
# load functions
. /etc/rc.d/functions-display

PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
# Setting up Linux logo text
if [ "$INSTALL_DATE" ]; then
   linux_logo -c -t "Operating since $INSTALL_DATE" > /etc/issue
else
   linux_logo -c -t "Brought to you by Vector-Linux" > /etc/issue
fi

## Setting up remote login message
echo "Welcome to $HOSTNAME. Unauthorized access is prohibited !" > /etc/issue.net

## Setting login message
if [ -f /etc/vector-version ]; then
    echo "`head -n1 /etc/vector-version` on `uname -a | cut -d\  -f1,3`" > /etc/motd
else   
    echo "Vector Linux on `uname -a | cut -d\  -f1,3`" > /etc/motd
fi

/sbin/vcpufreq-load
## Vector Linux initialization is very fast ...
## So uncomment this if you want to enjoy the show a bit longer
#sleep 5

## You may add custom initialization below this
/etc/rc.d/rc.slapt-update-notifier start

this is my rc.local but when i restart my system the slapt-update-notifier doesn't autostart. But if i run it manually as /etc/rc.d/rc.slapt-update-notifier start. the daemon show up in htop.

PS: ain't every script that have executable attribute in /etc/rc.d gonna be execute at boot time in Linux?
Title: Re: slapt-update-notifier
Post by: uelsk8s on February 05, 2009, 01:59:09 pm
Quote
PS: ain't every script that have executable attribute in /etc/rc.d gonna be execute at boot time in Linux?

No only the executable scripts in /etc/rc.d called from rc.S, rc.M, and rc.local get started at boot.

I would add "ifconfig" above "/etc/rc.d/rc.slapt-update-notifier start" in your rc.local to see if the network is up at that time.
Title: Re: slapt-update-notifier
Post by: hata_ph on February 07, 2009, 03:21:06 am
Quote
#!/bin/sh
# rc.local
# This file is provided for custom initialization because
# Admin is not encouraged to touch rc.S or rc.M.
#
# This file is launched on the end of entering multi user mode (2-5)
# load functions
. /etc/rc.d/functions-display

PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
# Setting up Linux logo text
if [ "$INSTALL_DATE" ]; then
   linux_logo -c -t "Operating since $INSTALL_DATE" > /etc/issue
else
   linux_logo -c -t "Brought to you by Vector-Linux" > /etc/issue
fi

## Setting up remote login message
echo "Welcome to $HOSTNAME. Unauthorized access is prohibited !" > /etc/issue.net

## Setting login message
if [ -f /etc/vector-version ]; then
    echo "`head -n1 /etc/vector-version` on `uname -a | cut -d\  -f1,3`" > /etc/motd
else   
    echo "Vector Linux on `uname -a | cut -d\  -f1,3`" > /etc/motd
fi

/sbin/vcpufreq-load
## Vector Linux initialization is very fast ...
## So uncomment this if you want to enjoy the show a bit longer
#sleep 5

## You may add custom initialization below this
ifconfig
/etc/rc.d/rc.slapt-update-notifier start

I did what you suggest but the slapt-update-notifier didn't start. I double check using htop it wasn't there...
Title: Re: slapt-update-notifier
Post by: hata_ph on February 22, 2009, 07:19:19 pm
I notice slapt-update-notifier is working in VL6-STD. May I know how you all manage to get it working?
Title: Re: slapt-update-notifier
Post by: caitlyn on February 22, 2009, 07:24:56 pm
In 6.0 it is installed and works by default.  I didn't have to do anything.
Title: Re: slapt-update-notifier
Post by: hata_ph on February 22, 2009, 09:42:29 pm
I try it in my VL5.9 Light using lxde as WM, but it doesn't work.....any advise?