mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
Userspace tools for NS-Link Device Drivers http://www.comtrol.com/resources/product-resources-white-papers/ns-link-device-drivers ref #761
17 lines
261 B
Plaintext
17 lines
261 B
Plaintext
#!/sbin/runscript
|
|
|
|
program=/sbin/nslink
|
|
pidfile=/var/run/nslink.pid
|
|
|
|
start_pre() {
|
|
if ! [ -f /etc/nslink.conf ]; then
|
|
eerror "Configuration file /etc/nslink.conf not found"
|
|
return 1
|
|
fi
|
|
|
|
if ! grep -q -w nslink /proc/modules; then
|
|
modprobe nslink
|
|
fi
|
|
}
|
|
|