X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Frootshell;fp=scripts%2Frootshell;h=0000000000000000000000000000000000000000;hb=780710c3d80b8776944dd1fc65a0fda64f399db0;hp=0331278a9163f66842951a0a80bd99780e10a541;hpb=8cf13bb177d92c93eb73dc8939777150536c2d00;p=util-vserver.git diff --git a/scripts/rootshell b/scripts/rootshell deleted file mode 100755 index 0331278..0000000 --- a/scripts/rootshell +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# Copyright (C) 2003 Enrico Scholz -# based on rootshell by Jacques Gelinas -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars} -test -e "$UTIL_VSERVER_VARS" || { - echo "Can not find util-vserver installation; aborting..." - exit 1 -} -. "$UTIL_VSERVER_VARS" - -OPTIONS=$@ -if [ "$OPTIONS" = "" ] ; then - OPTIONS=--login -fi -exec $SBINDIR/chbind --silent --ip 0.0.0.0 /bin/bash $OPTIONS -