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.4.349 packer/provisioners/rc.local.sh
pwn-0.4.348 packer/provisioners/rc.local.sh
pwn-0.4.347 packer/provisioners/rc.local.sh
pwn-0.4.346 packer/provisioners/rc.local.sh
pwn-0.4.344 packer/provisioners/rc.local.sh
pwn-0.4.343 packer/provisioners/rc.local.sh
pwn-0.4.342 packer/provisioners/rc.local.sh
pwn-0.4.341 packer/provisioners/rc.local.sh
pwn-0.4.340 packer/provisioners/rc.local.sh
pwn-0.4.339 packer/provisioners/rc.local.sh
pwn-0.4.338 packer/provisioners/rc.local.sh
pwn-0.4.336 packer/provisioners/rc.local.sh
pwn-0.4.333 packer/provisioners/rc.local.sh