From 5064beffe992f3af1b1affe2bfd3c8449ea11a05 Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Mon, 2 Jun 2014 10:24:18 +0200 Subject: [PATCH] Updated init scripts a little --- init-scripts/init.freebsd | 2 +- init-scripts/init.osx | 35 ++++++++++++++++++----------------- init-scripts/init.solaris11 | 8 ++++---- init-scripts/init.ubuntu | 4 ++-- 4 files changed, 25 insertions(+), 24 deletions(-) diff --git a/init-scripts/init.freebsd b/init-scripts/init.freebsd index b5ebd5ed..3d2ca978 100755 --- a/init-scripts/init.freebsd +++ b/init-scripts/init.freebsd @@ -38,7 +38,7 @@ status_cmd="${name}_status" stop_cmd="${name}_stop" command="/usr/sbin/daemon" -command_args="-f -p ${headphones_pid} python ${headphones_dir}/Headphones.py ${headphones_flags} --quiet" +command_args="-f -p ${headphones_pid} python ${headphones_dir}/Headphones.py ${headphones_flags} --quiet --nolaunch" # Ensure user is root when running this script. if [ `id -u` != "0" ]; then diff --git a/init-scripts/init.osx b/init-scripts/init.osx index 70c64752..226b8057 100644 --- a/init-scripts/init.osx +++ b/init-scripts/init.osx @@ -1,17 +1,18 @@ - - - - - Label - com.headphones.headphones - ProgramArguments - - /usr/bin/python - /Applications/Headphones/headphones.py - -q - -d - - RunAtLoad - - - \ No newline at end of file + + + + + Label + com.headphones.headphones + ProgramArguments + + /usr/bin/python + /Applications/Headphones/headphones.py + --quiet + --daemon + --nolaunch + + RunAtLoad + + + \ No newline at end of file diff --git a/init-scripts/init.solaris11 b/init-scripts/init.solaris11 index 4f1310cd..6db95d23 100644 --- a/init-scripts/init.solaris11 +++ b/init-scripts/init.solaris11 @@ -7,7 +7,7 @@ - + @@ -22,7 +22,7 @@ - + @@ -30,8 +30,8 @@ - - + +