HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/lib/dpkg/info/selinux-basics.postinst
#!/bin/sh -e

case "$1" in
    configure)
    for n in /boot/grub/menu.lst /etc/default/grub ; do
      if [ -f $n ]; then
        if grep -q selinux=1 $n ; then
          if ! grep -q security=selinux $n ; then
            sed -e "s/selinux=1/selinux=1 security=selinux/" < $n > $n.new
            mv $n.new $n
            update-grub
          fi
        fi
      fi
    done
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
    echo "$0 called with unknown argument '$1'" >&2
    exit 1
    ;;
esac


# Automatically added by dh_python3
if which py3compile >/dev/null 2>&1; then
	py3compile -p selinux-basics /usr/share/selinux-basics
fi
if which pypy3compile >/dev/null 2>&1; then
	pypy3compile -p selinux-basics /usr/share/selinux-basics || true
fi

# End automatically added section
# Automatically added by dh_installdeb/13.3ubuntu4
dpkg-maintscript-helper rm_conffile /etc/init.d/selinux-basics 0.5.3\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/udev/no-legacy-ptys.rules 0.5.1\~ -- "$@"
# End automatically added section


exit 0