| 1 | echoscip-shell system . . echo. "Starting dbus" |
| 2 | catscip-shell system . . cat. <<EOC | sudoscip-shell system . . sudo. tee /etc/dbus-1/system.d/ganesha.nfsd.conscip-shell filesystem . . `/etc/dbus-1/system.d/ganesha.nfsd.conf`.f >/dev/nullscip-shell filesystem . . `/dev/null`. |
| 3 | <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
| 4 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
| 5 | <busconfig> |
| 6 | |
| 7 | <!-- Allow the user running Ganesha to own the service name --> |
| 8 | <policy user="root"> |
| 9 | <allow own="org.ganesha.nfsd"/> |
| 10 | </policy> |
| 11 | |
| 12 | <!-- Allow everyone to invoke methods on Ganesha --> |
| 13 | <policy context="default"> |
| 14 | <allow send_destination="org.ganesha.nfsd"/> |
| 15 | </policy> |
| 16 | |
| 17 | </busconfig> |
| 18 | EOC |
| 19 | |
| 20 | sudoscip-shell system . . sudo. mkdir -p /var/run/dbusscip-shell filesystem . . `/var/run/dbus`. |
| 21 | sudoscip-shell system . . sudo. /usr/bin/dbus-uuidgenscip-shell filesystem . . `/usr/bin/dbus-uuidgen`. --ensure |
| 22 | sudoscip-shell system . . sudo. /usr/bin/dbus-daemonscip-shell filesystem . . `/usr/bin/dbus-daemon`. --system --fork |