mirror of
https://gitlab.com/niansa/magicwrap.git
synced 2025-03-06 20:48:30 +01:00
Minor improvements
This commit is contained in:
parent
b6b96187ea
commit
eb114387c7
6 changed files with 14 additions and 7 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
modules/data/jailedcfg/etc
|
||||
modules/data/jailedcfg/var
|
|
@ -1,6 +1,8 @@
|
|||
cat 'config/base.sh'
|
||||
#cat 'config/advdirs.sh'
|
||||
cat 'config/jailedcfg.sh'
|
||||
#cat 'config/jailedcfg-adv.sh'
|
||||
cat 'config/essentialcfg.sh'
|
||||
#cat 'config/sharedfs.sh'
|
||||
#cat 'config/fakeroot.sh'
|
||||
#cat 'config/control.sh'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--ro-bind /etc/alternatives /orig/etc/alternatives \
|
||||
--ro-bind /etc/ssl /orig/etc/ssl \
|
||||
--ro-bind /etc/issue /orig/etc/issue \
|
||||
--ro-bind /etc/issue.net /orig/etc/issue.net \
|
||||
--ro-bind /etc/os-release /orig/etc/os-release \
|
||||
--ro-bind-try /etc/alternatives /orig/etc/alternatives \
|
||||
--ro-bind-try /etc/ssl /orig/etc/ssl \
|
||||
--ro-bind-try /etc/issue /orig/etc/issue \
|
||||
--ro-bind-try /etc/issue.net /orig/etc/issue.net \
|
||||
--ro-bind-try /etc/os-release /orig/etc/os-release \
|
||||
--tmpfs /orig/var/log \
|
||||
--tmpfs /orig/var/tmp \
|
||||
|
|
|
@ -28,6 +28,8 @@ debugout 'I: Executing shell...'
|
|||
export HOME="/home/user"
|
||||
export USER="$(whoami)"
|
||||
cd
|
||||
. ~/.profile
|
||||
if [ -e ~/.profile ]; then
|
||||
. ~/.profile
|
||||
fi
|
||||
rm $0
|
||||
exec $passed
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#. 'init/fakeroot.sh'
|
||||
. 'init/jailedcfg.sh'
|
||||
#. 'init/sharedfs.sh'
|
||||
#. 'init/sharedfs-adv.sh'
|
||||
#. 'init/graphical.sh'
|
||||
#. 'init/control.sh'
|
||||
. "$mwcinit"
|
||||
|
|
2
mw.sh
2
mw.sh
|
@ -1,4 +1,4 @@
|
|||
#! /bin/bash
|
||||
##! /bin/bash
|
||||
|
||||
#FUNCTIONS
|
||||
cleanup () {
|
||||
|
|
Loading…
Add table
Reference in a new issue