1
0
forked from brl/citadel

appimg changes

This commit is contained in:
Bruce Leidl 2018-03-18 19:33:05 -04:00
parent 0e024933e0
commit dcca3ea890
2 changed files with 3 additions and 3 deletions

View File

@ -9,12 +9,10 @@ SYSTEMD_ENV=$(xargs -a /proc/1/environ --null echo)
process_var() { process_var() {
case ${1} in case ${1} in
"IFCONFIG_IP") "IFCONFIG_IP")
echo "IP: ${2}"
ip addr add ${2} dev host0 ip addr add ${2} dev host0
ip link set host0 up ip link set host0 up
;; ;;
"IFCONFIG_GW") "IFCONFIG_GW")
echo "GW: ${2}"
ip route add default via ${2} ip route add default via ${2}
;; ;;
esac esac

View File

@ -1,7 +1,9 @@
#!/bin/bash #!/bin/bash
export REALM_NAME
export DISPLAY=:0 export DISPLAY=:0
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
export XDG_RUNTIME_DIR=/run/user/1000 export XDG_RUNTIME_DIR=/run/user/1000
export PULSE_SERVER=unix:/run/user/host/pulse/native export PULSE_SERVER=unix:/run/user/host/pulse/native
export GNOME_DESKTOP_SESSION_ID=this-is-deprecated export GNOME_DESKTOP_SESSION_ID=this-is-deprecated
$@ export NO_AT_BRIDGE=1
exec "$@"