rimetto lo script
e questo sotto è rc.localcodice:#! /bin/sh ### BEGIN INIT INFO # Provides: cancella.sh # Required-Start: # Required-Stop: # Should-Start: # Default-Start: 0 # Default-Stop: # X-Interactive: # Short-Description: Run /etc/init.d/cancella.sh ### END INIT INFO shred -v -u -n10 /home/andrea/.aMule/known.met shred -v -u -n10 /home/andrea/.aMule/known2_64.met shred -v -u -n10 /home/andrea/.aMule/logfile shred -v -u -n10 /home/andrea/.aMule/logfile.bak shred -v -u -n10 /home/andrea/.thumbnails/normal/*.* shred -v -u -n10 /home/root/.thumbnails/normal/*.*
@ cacao: lo script ha già i percorsi assoluticodice:#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. exit 0
@ sacarde: non esiste sul mio pc nessun /etc/init.d/local
potrebbe essere un problema di "!/bin/sh", che magari vuole "!/bin/sh -e"?

Rispondi quotando