OXIESEC PANEL
- Current Dir:
/
/
etc
/
kernel
/
postinst.d
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/14/2020 08:17:22 AM
rwxr-xr-x
📄
apt-auto-removal
2.83 KB
04/20/2018 10:08:18 AM
rwxr-xr-x
📄
initramfs-tools
868 bytes
01/05/2018 12:11:55 PM
rwxr-xr-x
📄
unattended-upgrades
185 bytes
02/17/2020 11:37:03 AM
rwxr-xr-x
📄
update-notifier
751 bytes
05/24/2019 09:46:37 AM
rwxr-xr-x
📄
zz-update-grub
646 bytes
08/24/2020 08:45:45 AM
rwxr-xr-x
Editing: update-notifier
Close
#!/bin/sh # we do not include ". gettext.sh" here because: # a) it breaks if its not available # b) the string we have here does not need it (because it has no vars) eval_gettext() { if [ -x /usr/bin/gettext ]; then echo $(gettext "$1") else echo "$1" fi } export TEXTDOMAIN=update-notifier export TEXTDOMAINDIR=/usr/share/locale case "$DPKG_MAINTSCRIPT_PACKAGE::$DPKG_MAINTSCRIPT_NAME" in linux-image-extra*::postrm) exit 0;; esac if [ "$0" = "/etc/kernel/postinst.d/update-notifier" ]; then DPKG_MAINTSCRIPT_PACKAGE=linux-base fi # Wake the applet up echo "*** $(eval_gettext "System restart required") ***" > /var/run/reboot-required echo "$DPKG_MAINTSCRIPT_PACKAGE" >> /var/run/reboot-required.pkgs