logout and clear
start this script in .bash_logout! > !/bin/bash if [ -z "tty|grep tty" ]; then exit 0; fi TTY=tty|tail -c2 if [ $TTY = "1" ]; then chvt 2; chvt $TTY; else chvt 1 chvt $TTY fi…
start this script in .bash_logout! > !/bin/bash if [ -z "tty|grep tty" ]; then exit 0; fi TTY=tty|tail -c2 if [ $TTY = "1" ]; then chvt 2; chvt $TTY; else chvt 1 chvt $TTY fi…
Stop SASLAUTHD service Create directory for runtime files # mkdir -p /var/spool/postfix/var/run Move sockets into chroot # mv /var/run/saslauthd /var/spool/postfix/var/run/ Create symlinks, so that the old setup with the default locations is still intact # ln -s /var/spool/postfix/var/run/saslauthd…
run: # apt-get install genromfs # vi /etc/mkinitrd/mkinitrd.conf set: > MKIMAGE="genromfs -d %s -f %s" run: # cd /usr/src/linux # vi .config set: > CONFIG_CRAMFS=n # cramfs isn't needed CONFIG_ROMFS_FS=y # romfs support in kernel run: # PATCH_THE_KERNEL="YES&…
# COLUMNS=200 dpkg -l | grep -v ^ii | awk '{print $2}' | \ xargs dpkg --purge…
for a in `cat /var/lib/dpkg/status | grep -B 1 installed | \ grep -v installed | perl -ne 'if(/:s+(.*)/) {print qq($1n);}'`; \ do apt-get --reinstall install $a; done or # COLUMNS=200 dpkg -l | grep ^ii | awk '{print $2}' | \ xargs apt-get -y --reinstall install…