Sha256: cd5f7fa5cd76adc6c7626109b46dcc179e3b8a268f7fab7f93b125ebd571f54d

Contents?: true

Size: 411 Bytes

Versions: 813

Compression:

Stored size: 411 Bytes

Contents

#!/bin/bash --login
source /etc/profile.d/globals.sh

# Configure simple tasks to run @ boot
sudo tee -a '/etc/rc.local' << 'EOF'
#!/bin/sh -e
ifconfig lo:0 127.0.0.2 netmask 255.0.0.0 up
ifconfig lo:1 127.0.0.3 netmask 255.0.0.0 up
ifconfig lo:2 127.0.0.4 netmask 255.0.0.0 up
#sudo -H -u admin /usr/local/bin/toggle_tor.sh

exit 0
EOF

$screen_cmd "chmod 755 /etc/rc.local ${assess_update_errors}"
grok_error

Version data entries

813 entries across 813 versions & 1 rubygems

Version Path
pwn-0.5.236 packer/provisioners/rc.local.sh
pwn-0.5.235 packer/provisioners/rc.local.sh
pwn-0.5.234 packer/provisioners/rc.local.sh
pwn-0.5.233 packer/provisioners/rc.local.sh
pwn-0.5.232 packer/provisioners/rc.local.sh
pwn-0.5.231 packer/provisioners/rc.local.sh
pwn-0.5.230 packer/provisioners/rc.local.sh
pwn-0.5.229 packer/provisioners/rc.local.sh
pwn-0.5.228 packer/provisioners/rc.local.sh
pwn-0.5.227 packer/provisioners/rc.local.sh
pwn-0.5.226 packer/provisioners/rc.local.sh
pwn-0.5.225 packer/provisioners/rc.local.sh
pwn-0.5.224 packer/provisioners/rc.local.sh
pwn-0.5.223 packer/provisioners/rc.local.sh
pwn-0.5.222 packer/provisioners/rc.local.sh
pwn-0.5.221 packer/provisioners/rc.local.sh
pwn-0.5.220 packer/provisioners/rc.local.sh
pwn-0.5.219 packer/provisioners/rc.local.sh
pwn-0.5.217 packer/provisioners/rc.local.sh
pwn-0.5.216 packer/provisioners/rc.local.sh