2 # Generate not_configured file
3 touch etc/vmware-server-console/not_configured
4 chmod 644 etc/vmware-server-console/not_configured
7 touch etc/vmware-server-console/config
8 chmod 644 etc/vmware-server-console/config
9 echo "libdir = \"/usr/lib/vmware-server-console\"" >> etc/vmware-server-console/config
11 # Generate locations file
12 touch etc/vmware-server-console/locations
13 chmod 644 etc/vmware-server-console/locations
14 echo "answer BINDIR /usr/bin" >> etc/vmware-server-console/locations
15 echo "answer LIBDIR /usr/lib/vmware-server-console" >> etc/vmware-server-console/locations
16 echo "answer MANDIR /usr/share/man" >> etc/vmware-server-console/locations
17 echo "answer DOCDIR /usr/share/licenses/vmware-server-console" \
18 >> etc/vmware-server-console/locations
19 echo "file /etc/vmware-server-console/locations" >> etc/vmware-server-console/locations
20 echo "file /etc/vmware-server-console/not_configured" \
21 `date -r etc/vmware-server-console/not_configured +%s` >> etc/vmware-server-console/locations
22 echo "file /etc/vmware-server-console/config" \
23 `date -r etc/vmware-server-console/config +%s` >> etc/vmware-server-console/locations
27 You need to configure VMware Server Console by invoking
28 /usr/bin/vmware-config-server-console.pl.
34 if [ ! -f etc/vmware-server-console/not_configured ]; then
35 # Generate not_configured file
36 touch etc/vmware-server-console/not_configured
37 chmod 644 etc/vmware-server-console/not_configured
39 # Update locations file
40 echo "file /etc/vmware-server-console/not_configured" \
41 `date -r etc/vmware-server-console/not_configured +%s` \
42 >> etc/vmware-server-console/locations
47 You need to configure VMware Server Console by invoking
48 /usr/bin/vmware-config-server-console.pl.
54 # Uninstall files installed by vmware-config-server-console.pl
55 usr/bin/vmware-uninstall-server-console.pl