Lines 64-70
find_unused_scripts() {
Link Here
|
64 |
# output list entry for script $1 and show its status |
64 |
# output list entry for script $1 and show its status |
65 |
show_script_status() { |
65 |
show_script_status() { |
66 |
local script=$1 status=unknown x |
66 |
local script=$1 status=unknown x |
67 |
local PATH=/lib/rc/bin:${PATH} # path to service_* commands |
67 |
local PATH=/lib/rc/bin:/lib64/rc/bin:${PATH} # path to service_* commands |
68 |
|
68 |
|
69 |
for x in stopping starting inactive started stopped; do |
69 |
for x in stopping starting inactive started stopped; do |
70 |
if service_${x} ${script}; then |
70 |
if service_${x} ${script}; then |