File: init

package info (click to toggle)
hwtools 0.8-0.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,316 kB
  • ctags: 1,141
  • sloc: ansic: 6,028; asm: 2,223; makefile: 278; sh: 109; csh: 42
file content (22 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
#	/etc/init.d/hwtools (previously /etc/rc.boot/hwtools)
#

# Optimize interrupts. You might want to add parameters if you want
# to favor ttyS1 or ttyS0 or something else.
if command -v irqtune >/dev/null 2>&1; then
#   irqtune [PUT ARGS HERE]
   true
fi

# hdparm optimization
# Switches on interrupts during transfers and does multi sector transfers
if command -v hdparm >/dev/null 2>&1; then
#   hdparm -q [PUT ARGS HERE]
   true
fi

# configure QIC-02 interface
# see qic02conf(8)
# qic02conf --card= --port= --dma= --irq=