Index: uspace/app/bdsh/input.c
===================================================================
--- uspace/app/bdsh/input.c	(revision 721d3a27f5f7351210d6241085eda2bc4ef374bf)
+++ uspace/app/bdsh/input.c	(revision fc11b8a9a4cb9eb89129fd82cf7f9706cb5658de)
@@ -43,18 +43,5 @@
 #include "exec.h"
 
-extern volatile unsigned int cli_interactive;
-
-/* Not exposed in input.h */
-static void cli_restricted(char *);
 static void read_line(char *, int);
-
-/* More than a macro than anything */
-static void cli_restricted(char *cmd)
-{
-	printf("%s is not available in %s mode\n", cmd,
-		cli_interactive ? "interactive" : "non-interactive");
-
-	return;
-}
 
 /* Tokenizes input from console, sees if the first word is a built-in, if so
Index: uspace/app/bdsh/scli.c
===================================================================
--- uspace/app/bdsh/scli.c	(revision 721d3a27f5f7351210d6241085eda2bc4ef374bf)
+++ uspace/app/bdsh/scli.c	(revision fc11b8a9a4cb9eb89129fd82cf7f9706cb5658de)
@@ -46,5 +46,4 @@
  * should be aware of. */
 volatile unsigned int cli_quit = 0;
-volatile unsigned int cli_interactive = 1;
 volatile unsigned int cli_verbocity = 1;
 
