summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-07 18:24:12 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-07 18:24:12 -0800
commitc246e6fcb064318dab5b64f84e0b68e49cb80500 (patch)
tree31f84da4c46317bb91ef6a36e5dad8596eba9ac0 /shell.c
parentf97fa562124a04296a567aadd535662e68c7f8f5 (diff)
downloadvyatta-bash-c246e6fcb064318dab5b64f84e0b68e49cb80500.tar.gz
vyatta-bash-c246e6fcb064318dab5b64f84e0b68e49cb80500.zip
support external per-level policies controlling default restricted mode
and allowed op/cfg/pipe commands, i.e., no more hard-coded policies in bash.
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/shell.c b/shell.c
index 36a9c66..b8dcf32 100644
--- a/shell.c
+++ b/shell.c
@@ -528,9 +528,6 @@ main (argc, argv, env)
if (shopt_alist)
run_shopt_alist ();
- /* check and set the default vyatta restricted mode */
- set_vyatta_restricted_mode ();
-
/* From here on in, the shell must be a normal functioning shell.
Variables from the environment are expected to be set, etc. */
shell_initialize ();