Updated init scripts a little

This commit is contained in:
Bas Stottelaar
2014-06-02 10:24:18 +02:00
parent 19c4e7d7d3
commit 5064beffe9
4 changed files with 25 additions and 24 deletions
+1 -1
View File
@@ -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