Automatic refreshing of repository on each boot
This commit is contained in:
1 parent
8ef7b0ba1a
commit
b19f901960
1 file changed
+3
@@ -1,4 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
echo
|
||||||
|
cd /home/security/workshop
|
||||||
|
git pull origin master
|
||||||
|
|
||||||
IP=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print \$1}'`
|
IP=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print \$1}'`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user