mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-30 01:28:54 +00:00
16 lines
248 B
Bash
16 lines
248 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# restore default sshd configuration
|
|
mv /etc/ssh/sshd_config.orig /etc/ssh/sshd_config
|
|
|
|
# clear cache
|
|
rm -rf /var/cache/apk/*
|
|
|
|
# clear uploads
|
|
rm -rf /tmp/uploads
|
|
|
|
# Write 0
|
|
(dd if=/dev/zero bs=1M of=/zero ; rm -f /zero) || true
|