summaryrefslogtreecommitdiff
path: root/emulators/wine/files/wine.sh
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-05-19 10:07:37 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-05-19 10:07:37 +0000
commit42eedefcd21552ea49d0045a2c1b8fa3810d7d21 (patch)
tree90b49d57e28fefc5aa9371908600cf4dd5557604 /emulators/wine/files/wine.sh
parentUpdate to exiscan-acl-4.20-06, which fixes a problem handling multiple (diff)
Install a script into etc/rc.d/ to run ldconfig after reboots so
Wine libraries could be found. Approved by: maintainer
Notes
Notes: svn path=/head/; revision=81361
Diffstat (limited to 'emulators/wine/files/wine.sh')
-rw-r--r--emulators/wine/files/wine.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/wine/files/wine.sh b/emulators/wine/files/wine.sh
new file mode 100644
index 000000000000..fe67ceb5d4e2
--- /dev/null
+++ b/emulators/wine/files/wine.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ /sbin/ldconfig -m %%PREFIX%%/lib/wine
+ ;;
+ stop)
+ ;;
+ *)
+ echo ""
+ echo "Usage: `basename $0` { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac