code.fastix.org

Dateiansicht:

Datei:Projekte -> Ubuntu:Updatemanager:Neustart abschalten -> install_remove_reboot-required
md5:96a2637c994e6190564b0ab9872f270d
sha1:d1dd05e50833e4d2e137a55d1142cf05828f293f
  1. #!/usr/bin/sudo /bin/bash
  2.  
  3. FileTarget='/etc/init.d/remove_reboot-required';
  4. LinkName='/etc/rc0.d/K04remove_reboot-required';
  5. wwwSource='https://code.fastix.org/showFile.php?file=Projekte/Ubuntu:Updatemanager:Neustart abschalten/remove_reboot-required&download=1';
  6.  
  7. /usr/bin/wget --output-document "${FileTarget}" "${wwwSource}";
  8. chmod 755 "${FileTarget}";
  9. if [ ! -f "${LinkName}" ]; then
  10.    ln -s "${FileTarget}" "${LinkName}";
  11. fi