Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97906ebe04 |
2
Makefile
2
Makefile
@@ -18,7 +18,7 @@ DESC = This package supplies the core required init scripts for startup
|
||||
ARCHIVE := ''
|
||||
SRCDIR := $(PWD)/SRC/initscripts
|
||||
PATCHDIR := $(PWD)/SRC/patches
|
||||
VERSION := 1.5-0
|
||||
VERSION := 1.6-0
|
||||
|
||||
include /usr/share/snap/Makefile.snaplinux
|
||||
|
||||
|
||||
@@ -8,7 +8,10 @@
|
||||
# be enough
|
||||
#
|
||||
|
||||
if [ -r /proc/1/environ ]; then
|
||||
chkcontainer=$(sed 's/\x0/\n/g' < /proc/1/environ|grep -ia '^container\|^LXC')
|
||||
fi
|
||||
|
||||
[ -n "$chkcontainer" ] && export $chkcontainer
|
||||
|
||||
COL52="\\033[52G"
|
||||
|
||||
Reference in New Issue
Block a user