Magellan Linux

Contents of /mcore-src/trunk/mcore-tools/dracut/mcored-citrix/module-setup.sh.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2339 - (show annotations) (download)
Mon Jul 14 08:57:13 2014 UTC (9 years, 10 months ago) by niro
File size: 369 byte(s)
-honor PNABROWSE_ICAROOT
1 #!/bin/sh
2
3 check() {
4 local _program
5 . $dracutfunctions
6
7 if ! type -P @@PNABROWSE_EXECUTABLE@@ >/dev/null; then
8 derror "Could not find program \"$_program\" required by mcored."
9 return 1
10 fi
11
12 return 255
13 }
14
15 depends() {
16 echo mcored
17 }
18
19 install() {
20 # mcored config stuff
21 dracut_install @@PNABROWSE_EXECUTABLE@@
22 dracut_install @@PNABROWSE_ICAROOT@@/libproxy.so
23 }