Последняя активность 6 months ago

.bash_profile Исходник
1# wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/squeeze-lts -O /etc/cron.daily/squeeze-lts && chmod +x /etc/cron.daily/squeeze-lts
2# TMP=$(mktemp); wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/.bash_profile -O ${TMP} && grep -v "^#" ${TMP} >> ~/.bash_profile
3if [ ! -f /tmp/motd.squeeze-lts.trail ]; then
4 sh /etc/cron.daily/squeeze-lts
5fi
6echo ""; echo "Not supported packages by squeeze LTS (wiki.debian.org/LTS/Development):"; echo ""
7cat /tmp/motd.squeeze-lts.trail
8
squeeze-lts Исходник
1#!/bin/bash
2if [ "`cat /etc/debian_version | awk -F. {'print $1"."$2'}`" = "6.0" ]; then
3 if [ -x /usr/bin/check-support-status ]; then
4 check-support-status | grep "^ - " > /tmp/motd.squeeze-lts.trail
5 fi
6fi