*** gparted.in 2008-07-10 19:58:51.000000000 +0100 --- gparted.in.new 2008-07-19 03:31:30.921448975 +0100 *************** *** 12,17 **** --- 12,21 ---- # # On systems without hal-lock, invoke gpartedbin directly. # + # Patched for Vector Linux by wcs to launch gparted without + # hal-lock when using vl-hot, by checking if hald is running + # besides checking if hal-lock exists (19th July, 2008). + # # # Search PATH to determine if hal-lock program can be found *************** *** 19,26 **** HAVE_HAL_LOCK=no for k in '' `echo "$PATH" | sed 's,:, ,g'`; do if test -x "$k/hal-lock"; then ! HAVE_HAL_LOCK=yes ! break fi done --- 23,32 ---- HAVE_HAL_LOCK=no for k in '' `echo "$PATH" | sed 's,:, ,g'`; do if test -x "$k/hal-lock"; then ! if ps aux | grep hald | grep -v grep > /dev/null; then ! HAVE_HAL_LOCK=yes ! break ! fi fi done