echo "#!/bin/sh # chkconfig: 234 90 90 # description: mount nas drive ls git pull blabla " > /etc/init.d/svc chmod 755 /etc/init.d/svc chown root.root /etc/init.d/svc chkconfig --add svc
echo "#!/bin/sh # chkconfig: 234 90 90 # description: mount nas drive ls git pull blabla " > /etc/init.d/svc chmod 755 /etc/init.d/svc chown root.root /etc/init.d/svc chkconfig --add svc