6 svc = AIDS::Service.new(argv[1]) if argv[1]
18 AIDS.get_all_services.sort_by{|s|s.name}.each{|s|display_status(s)}
25 def display_status(svc)
26 print "#{svc.name[0..14]}#{' ' * (16 - svc.name[0..14].length)}"
29 AIDS::RUNLEVEL_ALL.each do |r|
30 print "\t" if prettystatus
41 print "#{r}:#{prettystatus}"
48 AIDS - Assistant for Initialisation of Debian Services
50 Usage: #{$0} command [service]
52 Command may be one of:
61 Lists the current status of the service, or of all services if
67 main(ARGV) if $0 == __FILE__