[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Script problem...



#!/bin/sh

# /etc/ppp/ip-up und ip-down werden von pppd ausgefuehrt.

PATH=/usr/local/bin:/bin:/usr/ucb:/usr/etc:/etc/ppp:/var/log

mv /var/log/ppp-log /var/log/ppp-log.bak
mv /var/log/syslog /var/log/syslog.bak
mv /var/log/ftp-log /var/log/ftp-log.bak
mv /var/log/amail.log /var/log/amail.log.bak
touch /var/log/ppp-log
touch /var/log/syslog
touch /var/log/ftp-log
touch /var/log/amail.log
echo All Logs Successfully Backed Up... > /dev/console


       __________________________________________________________________
      /               /   SysOp Of The DarkForce! BBS   /               /\
     /    --T--      /   Phone 1-606-886-9014 Today!   /     /\        / /
    /  -A T A R I-  /   My ICQ # Is 2 0 6 2 3 9 0 4   /  Dark><Chyld  / /
   /      --G--    /   The Fuji -Still- Lives...!!   /       \/      / /
  /_______________/_______________/_________________/_______________/ /
  \_________________________________________________________________\/