projects
/
rrq
/
overlay-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c41e4d9
)
fix OVERLAYDIR setup
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Sat, 26 Mar 2022 12:01:33 +0000
(23:01 +1100)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Sat, 26 Mar 2022 12:01:33 +0000
(23:01 +1100)
overlay-boot
patch
|
blob
|
history
diff --git
a/overlay-boot
b/overlay-boot
index 75939fe97a2b670863cabf5252297f59e1bd10c7..0db05aa32974a4854d012d76a8085e7cdf54a1bc 100755
(executable)
--- a/
overlay-boot
+++ b/
overlay-boot
@@
-4,10
+4,10
@@
# is an overlay of the subhost's root and an OS root. The service
# subhost is defined by a configuration file named on teh command line
-OVERLAYDIR="$(
realpath $(dirname
$0))"
+OVERLAYDIR="$(
dirname $(realpath
$0))"
[ $(id -u) = 0 ] || exec sudo $0 $@
-. $
(dirname $(realpath $0))
/functions $*
+. $
OVERLAYDIR
/functions $*
CONFIG="$1"
[ -r "$CONFIG" ] || die "Missing configuration $CONFIG"