Magellan Linux

Contents of /trunk/initscripts/patches/initscripts-0.8.8-cluster-failover-state.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3560 - (show annotations) (download)
Wed Aug 12 14:32:59 2020 UTC (3 years, 8 months ago) by niro
File size: 367 byte(s)
-added cluster state patch
1 Index: initscripts/common/etc/profile
2 ===================================================================
3 --- initscripts/common/etc/profile (Revision 3117)
4 +++ initscripts/common/etc/profile (Arbeitskopie)
5 @@ -69,3 +69,8 @@
6 unset LC_ALL
7 fi
8 fi
9 +
10 +if [ -f /var/lib/failover/failover_state ]
11 +then
12 + export PS1="($(</var/lib/failover/failover_state)) ${PS1}"
13 +fi