Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2663 - (hide annotations) (download)
Thu Nov 12 08:45:07 2015 UTC (8 years, 6 months ago) by niro
File size: 376 byte(s)
-print the correct module name on error
1 niro 2332 #!/bin/sh
2    
3     check() {
4     local _program
5     . $dracutfunctions
6    
7     if ! type -P @@PNABROWSE_EXECUTABLE@@ >/dev/null; then
8 niro 2663 derror "Could not find program \"$_program\" required by mcored-citrix."
9 niro 2332 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 niro 2339 dracut_install @@PNABROWSE_ICAROOT@@/libproxy.so
23 niro 2332 }