projects
/
rrq
/
overlay-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added sysvinit service support
[rrq/overlay-boot.git]
/
overlay-boot
diff --git
a/overlay-boot
b/overlay-boot
index d635da4347739db34020cd6856382d5c6f7827f9..fc4b8b428e0d7eb1ffc2665b4c3aca5071f550f9 100755
(executable)
--- a/
overlay-boot
+++ b/
overlay-boot
@@
-4,6
+4,7
@@
# configuration file named on the command line.
# See "man overlay-boot" for details.
# configuration file named on the command line.
# See "man overlay-boot" for details.
+set -x
PROGRAMDIR="$(dirname $(realpath $0))"
. $PROGRAMDIR/functions
PROGRAMDIR="$(dirname $(realpath $0))"
. $PROGRAMDIR/functions
@@
-22,6
+23,7
@@
fi
subhost_config
setup_veth_cables $NAME $CABLES
setup_overlay "$NAME" "$LIVE" "$LOWER" "$UPPER" "$WORK"
subhost_config
setup_veth_cables $NAME $CABLES
setup_overlay "$NAME" "$LIVE" "$LOWER" "$UPPER" "$WORK"
+setup_cgroup2_accounting "$NAME" "$$"
exithandler() {
ip netns del $NAME
exithandler() {
ip netns del $NAME