#!/bin/shifconfig ix0_vlan5 upexit 0root@shut
#!/bin/shifconfig ix0_vlan5 downexit 0
[wup]command:/usr/local/bin/wup.shparameters:type:scriptmessage:Bring VLAN5 updescription: VLAN5 up [wdown]command:/usr/local/bin/wdown.shparameters:type:scriptmessage:Bring VLAN5 downdescription: VLAN5 down
# service configd restart
# configctl vlan5updown wup
# configctl vlan5updown wdown
# crontab -l# or /usr/local/etc/cron.d and follow the same format as# /etc/crontab, see the crontab(5) manual page.SHELL=/bin/shPATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbinREQUESTS_CA_BUNDLE=/etc/ssl/cert.pem#minute hour mday month wday command1 * * * * (/usr/local/sbin/configctl -d syslog archive) > /dev/null2 * * * * (/usr/local/sbin/expiretable -v -t 3600 sshlockout) > /dev/null3 * * * * (/usr/local/sbin/expiretable -v -t 3600 virusprot) > /dev/null4 * * * * (/usr/local/etc/rc.expireaccounts) > /dev/null*/4 * * * * (/usr/local/sbin/ping_hosts.sh) > /dev/null0 22 * * * (/usr/local/sbin/configctl -d firmware changelog cron) > /dev/null* * * * * (test -e /var/db/rrd/updaterrd.sh && /usr/local/bin/flock -n -E 1 /var/db/rrd/updaterrd.sh /var/db/rrd/updaterrd.sh) > /dev/null1,16,31,46 * * * * (/usr/bin/logger "reload filter for configured schedules" ; /usr/local/etc/rc.filter_configure) > /dev/null1 3 1 * * (/usr/local/sbin/configctl -d filter schedule bogons) > /dev/null* * * * * (/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables.lock /usr/local/opnsense/scripts/filter/update_tables.py) > /dev/null
# ls -l /usr/local/bin/w*-rwxrwxr-x 1 root wheel 41 Sep 7 18:58 /usr/local/bin/wdown.sh-rwxrwxr-x 1 root wheel 39 Sep 7 19:00 /usr/local/bin/wup.sh