diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-03-10 03:58:42 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-03-10 03:58:42 +0100 |
commit | ae71fef89e76a67e05d1639e7f74a62d9975be81 (patch) | |
tree | dc4c0a67201c473f5f2503c766f2a98c9b6131f3 /etc/init.d | |
parent | 70adcee7b6561c4e9122858c4dca0fa5ee6af52a (diff) | |
download | vyatta-cfg-ae71fef89e76a67e05d1639e7f74a62d9975be81.tar.gz vyatta-cfg-ae71fef89e76a67e05d1639e7f74a62d9975be81.zip |
Some dirty workarounds to get unionfs-fuse to work.
Diffstat (limited to 'etc/init.d')
-rwxr-xr-x | etc/init.d/vyatta-router | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router index 9d11aab..6b9edd3 100755 --- a/etc/init.d/vyatta-router +++ b/etc/init.d/vyatta-router @@ -50,6 +50,17 @@ if [ ! -z "$VYOS_CONFIG" ]; then fi fi +# Nothing will work without unionfs-fuse +# In squeeze fuse.conf is not world readable by default, +# ensure it's readable and includes "user_allow_other" +# for correct config operations. +# XXX: Is there a better way to do that? +echo "user_allow_other" > /etc/fuse.conf +chmod 644 /etc/fuse.conf + +# XXX: And a better way to do this? There should be. +chmod 777 /dev/fuse + declare -a subinit declare -a all_subinits=( rl-system |