This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| RMFILE_LOG=`mktemp` | |
| RMFILE_ERR=`mktemp` | |
| RMDIR_LOG=`mktemp` | |
| RMDIR_ERR=`mktemp` | |
| find ~ftp/incoming -mindepth 1 -mount -type f -atime +7 -exec rm -vf {} \; >$RMFILE_LOG 2>$RMFILE_ERR | |
| find ~ftp/incoming -depth -mindepth 1 -mount -type d -empty -exec rmdir -v {} \; >$RMDIR_LOG 2>$RMDIR_ERR | |
| echo "Cleaning FTP incoming directory:" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # NAME | |
| # fal - wrapper script to run several concurrent commands and gather their | |
| # output into one log file. fal is an abbreviation for "fork, aggregate, log" | |
| # | |
| # SYNOPSIS | |
| # fal -c count [-l logfile] [-t] [-p pipe] [--] command [command_args] | |
| # | |
| # OPTIONS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| auto wlan0 | |
| mapping wlan0 | |
| script /usr/local/sbin/wlan-detect.sh | |
| map HomeAP wlan0-home | |
| map OfficeAP wlan0-office | |
| iface wlan0-home inet dhcp | |
| wpa-ssid HomeAP | |
| wpa-psk HomeAccessPointPassphrase | |
| wpa-key-mgmt WPA-PSK |
NewerOlder