File: ras-mc-ctl

package info (click to toggle)
rasdaemon 0.8.4-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,832 kB
  • sloc: ansic: 17,870; sh: 4,983; perl: 2,383; makefile: 212
file content (12 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

# ras-mc-ctl requires modprobe command from kmod
# and the permission to open the db

# check if the necessary db exists
# the result is useful for debugging the usage of ras-mc-ctl when something
# goes wrong
ls /var/lib/rasdaemon/ras-mc_event.db

/usr/sbin/ras-mc-ctl --summary