#!/bin/sh set -e for i in $(ls /home) do if grep -q /home/$i /etc/passwd ; then path=/home/$i/.config/autostart/ if [ ! -d $path ]; then mkdir -p $path fi if [ -f /usr/share/applications/opensnitch_ui.desktop ];then ln -s /usr/share/applications/opensnitch_ui.desktop $path 2>/dev/null || true fi fi done gtk-update-icon-cache /usr/share/icons/hicolor/ || true set +e