diff options
author | dvs1 | 2024-10-22 14:03:47 +1000 |
---|---|---|
committer | dvs1 | 2024-10-22 14:03:47 +1000 |
commit | 58f1fd3872a450e67fb73df09c4b45b6fd04536f (patch) | |
tree | abf8af6dbfac0f35a9d8ae987572cdb49112c6ab | |
parent | Lots of little tweaks about how _ works. (diff) | |
download | JackOnAllDevices-58f1fd3872a450e67fb73df09c4b45b6fd04536f.zip JackOnAllDevices-58f1fd3872a450e67fb73df09c4b45b6fd04536f.tar.gz JackOnAllDevices-58f1fd3872a450e67fb73df09c4b45b6fd04536f.tar.bz2 JackOnAllDevices-58f1fd3872a450e67fb73df09c4b45b6fd04536f.tar.xz |
Make the user command STOP, so stop is for SysV.
Diffstat (limited to '')
-rwxr-xr-x | aataaj.lua | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -100,6 +100,7 @@ if 0 ~= #args then | |||
100 | 100 | ||
101 | if 'start' == args[1] then | 101 | if 'start' == args[1] then |
102 | elseif 'stop' == args[1] then | 102 | elseif 'stop' == args[1] then |
103 | elseif 'STOP' == args[1] then | ||
103 | _.killEmAll{'qsynth'} | 104 | _.killEmAll{'qsynth'} |
104 | __[[ | 105 | __[[ |
105 | a2j_control --stop | 106 | a2j_control --stop |
@@ -134,11 +135,11 @@ if 0 ~= #args then | |||
134 | print(Help) | 135 | print(Help) |
135 | return(0) | 136 | return(0) |
136 | else | 137 | else |
137 | print("Usage: /etc/init.d/aataaj.lua {start|stop|restart|force-reload|status}") | 138 | print("Usage: aataaj.lua {start|stop|restart|force-reload|status|JACK|STOP}") |
138 | return(1) | 139 | return(1) |
139 | end | 140 | end |
140 | else | 141 | else |
141 | print("Usage: /etc/init.d/aataaj.lua {help|start|stop|restart|force-reload|status|JACK}") | 142 | print("Usage: aataaj.lua {help|start|stop|restart|force-reload|status|JACK|STOP}") |
142 | return(1) | 143 | return(1) |
143 | end | 144 | end |
144 | 145 | ||