Skip to content

Commit

Permalink
r1425: Also source /etc/default/drbd in the drbddisk script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp-Reisner committed Jul 13, 2004
1 parent 5e5e030 commit 014e944
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/drbddisk
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@
#
###

DEFAULTFILE="/etc/default/drbd"
DRBDADM="/sbin/drbdadm"

if [ -f $DEFAULTFILE ]; then
. $DEFAULTFILE
fi

if [ "$#" -eq 2 ]; then
RES="$1"
CMD="$2"
Expand Down

0 comments on commit 014e944

Please sign in to comment.