Changes between Version 6 and Version 7 of doc/TorBOX/Dev/ChangeRoot


Ignore:
Timestamp:
Jul 5, 2012, 2:50:34 PM (7 years ago)
Author:
proper
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/TorBOX/Dev/ChangeRoot

    v6 v7  
    33#!/bin/bash
    44# save as ~/TorBOX-chroot
     5
     6script_help() {
     7echo \
     8"
     9# FLAGS / WORKFLOW:
     10# -tg-mount
     11# Mounts the vm image.
     12#
     13# -tg-chroot
     14# Prepares chroot.
     15#
     16# -tg-unchroot
     17# Terminates chroot.
     18#
     19# -tg-unmount
     20# Unmounts the vm image.
     21#
     22# -tw-mount
     23# -tw-chroot
     24# -tw-unchroot
     25# -tw-unmount
     26"
     27}
     28
     29
    530
    631# TODO:
     
    148173#useradd -m -d /home/user -s /bin/bash user
    149174#usermod -a -G adm,cdrom,audio,dip,sudo,plugdev user
     175
     176echo "
     177inside_chroot does nothing. One command is required
     178to prevent an error message while running the script.
     179"
    150180}
    151181
     
    262292   exit 0
    263293fi
     294
     295script_help
    264296}}}