mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 11:22:30 +01:00
17 lines
262 B
Plaintext
17 lines
262 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
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
|
|
}
|
|
|