Contents of /mcore-src/trunk/mcore-tools/dracut/mcored-citrix/module-setup.sh.in
Parent Directory | Revision Log
Revision 2663 -
(show annotations)
(download)
Thu Nov 12 08:45:07 2015 UTC (8 years, 7 months ago) by niro
File size: 376 byte(s)
Thu Nov 12 08:45:07 2015 UTC (8 years, 7 months ago) by niro
File size: 376 byte(s)
-print the correct module name on error
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-citrix." |
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 | } |