2016-12-04 19:31:00 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
2016-12-04 19:52:50 +00:00
|
|
|
mkdir /data $HOME/.pki/nssdb $HOME/.local 2>/dev/null
|
|
|
|
chown -Rh $USER:$USER /data $HOME/.pki/nssdb $HOME/.local
|
|
|
|
|
2016-12-04 19:31:00 +00:00
|
|
|
# Befriend with grsecurity patched kernel
|
|
|
|
setfattr -n user.pax.flags -v m /usr/lib/chromium-browser/chromium-browser
|
|
|
|
|
2016-12-05 09:51:22 +00:00
|
|
|
su -s /bin/sh -c "/usr/bin/chromium-browser --user-data-dir=/data $@" $USER
|