summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-10-02 16:36:31 +0200
committerDaniil Baturin <daniil@baturin.org>2018-10-02 16:36:31 +0200
commitfe8f4813e6fb008aede29d3e1cba337930907931 (patch)
tree59b53a0b3925f78d9bf85560cddc4ceb9bdfdd33 /src/system
parent12d42bb85efa0658a9160bf7ce892514ee859293 (diff)
downloadvyos-1x-fe8f4813e6fb008aede29d3e1cba337930907931.tar.gz
vyos-1x-fe8f4813e6fb008aede29d3e1cba337930907931.zip
T866: add a post-upgrade script for setting correct /config ownership in case GIDs change.
Diffstat (limited to 'src/system')
-rwxr-xr-xsrc/system/post-upgrade3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system/post-upgrade b/src/system/post-upgrade
new file mode 100755
index 000000000..41b7c01ba
--- /dev/null
+++ b/src/system/post-upgrade
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+chown -R root:vyattacfg /config