diff options
Diffstat (limited to 'scripts/casper-bottom/31disable_update_notifier')
| -rwxr-xr-x | scripts/casper-bottom/31disable_update_notifier | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/casper-bottom/31disable_update_notifier b/scripts/casper-bottom/31disable_update_notifier new file mode 100755 index 0000000..082b818 --- /dev/null +++ b/scripts/casper-bottom/31disable_update_notifier @@ -0,0 +1,26 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Disabling update-notifier..." + +. /scripts/functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +log_begin_msg "$DESCRIPTION" + +rm -f /root/etc/xdg/autostart/update-notifier.desktop +rm -f /root/usr/share/autostart/adept_notifier_auto.desktop + +log_end_msg |
