#!/bin/sh # Update ~/.www/header.html on login/logout case "$1" in login) ed ~/.www/header.html <Gerade auf $(hostname) eingeloggt.

. wq EOF ;; logout) ed ~/.www/header.html <