--- util/osetbg.orig	Sat Apr 12 19:03:10 2003
+++ util/osetbg	Sat Apr 12 19:04:57 2003
@@ -204,20 +204,20 @@
 	quit 0
 }
 
-do_bsetroot() 
+do_osetroot() 
 {
-	if check_exe_in_path bsetroot; then
+	if check_exe_in_path osetroot; then
 		read_config
 
-		$debug bsetroot $* 2>/dev/null; rc=$?
+		$debug osetroot $* 2>/dev/null; rc=$?
 		
 		if [ "$rc" -gt 0 ]; then
 			help_msg $rc
 		else
-			log_cmd bsetroot $*; $refresh_cmd 2>/dev/null
+			log_cmd osetroot $*; $refresh_cmd 2>/dev/null
 		fi
 	else
-    		quit 1 "couldn't find bsetroot in $PATH"
+    		quit 1 "couldn't find osetroot in $PATH"
 	fi
 }
 
@@ -429,7 +429,7 @@
 		add_post_arg ${1}
 	elif [ "$command" = do_exec ]; then
 		do_exec=1		
-	elif [ "$command" != do_bsetroot ]; then
+	elif [ "$command" != do_osetroot ]; then
 		finished=1
 	fi 
 }
@@ -445,7 +445,7 @@
 				
 		-c|*-center|c|-t|*-tile*|t|-f|*-full|f)
 			case $command in
-				do_standard|do_generate|do_bsetroot)
+				do_standard|do_generate|do_osetroot)
 					finished=1 ;;
 				do_exec)
 					if ! bool $got_fcmd; then
@@ -461,7 +461,7 @@
 			command=do_exec; check_cmd ;;
 		
 		-mod|-gradient|-solid|-display)
-			check_cmd "do_bsetroot" && add_arg $1 ;;
+			check_cmd "do_osetroot" && add_arg $1 ;;
 
 		-g|*-generate*|g)
 			check_cmd $1 "do_generate" ;;
@@ -476,10 +476,10 @@
 			bool $finished && return 1		
 
 			case $1 in -*)
-				bool $do_exec || bool $do_bsetroot || bool $do_post || help_msg 1
+				bool $do_exec || bool $do_osetroot || bool $do_post || help_msg 1
 			esac
 		
-			if bool $do_standard || bool $do_exec || bool $do_bsetroot || bool $do_generate; then
+			if bool $do_standard || bool $do_exec || bool $do_osetroot || bool $do_generate; then
 				add_arg $1
 			elif bool $do_post; then
 				add_post_arg $1
