2009-12-07 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent_installer: Use tabs instead spaces. Small text fix. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
518faddbf7
commit
a9c938ea40
|
@ -1,3 +1,8 @@
|
|||
2009-12-07 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* linux/pandora_agent_installer: Use tabs instead spaces. Small text
|
||||
fix.
|
||||
|
||||
2009-11-29 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* linux/pandora_agent_installer: Added Ubuntu specific stop scripts.
|
||||
|
|
|
@ -172,11 +172,11 @@ install () {
|
|||
if [ "$DISTRO" == "UBUNTU" ]
|
||||
then
|
||||
echo "Linking start-up daemon script to /etc/rc2.d";
|
||||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc2.d/S90pandora_agent_daemon
|
||||
echo "Linking stop daemon script";
|
||||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc0.d/K90pandora_agent_daemon
|
||||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc1.d/K90pandora_agent_daemon
|
||||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc6.d/K90pandora_agent_daemon
|
||||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc2.d/S90pandora_agent_daemon
|
||||
echo "Linking stop daemon scripts";
|
||||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc0.d/K90pandora_agent_daemon
|
||||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc1.d/K90pandora_agent_daemon
|
||||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc6.d/K90pandora_agent_daemon
|
||||
else
|
||||
INITLV=`cat /etc/inittab | grep "[0-9]\:initdefault" | cut -f 2 -d ":"`
|
||||
echo "Linking start-up daemon script to /etc/rc.d/rc$INITLV.d";
|
||||
|
|
Loading…
Reference in New Issue