11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


[시놀리지] 부팅시 자동 실행 스크립트 경로(자료 펌)

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    자료 펌)

    \r\n

    http://m.assayo.com/board_view.html?board=forum_nas&pid=11287

    \r\n

     

    \r\n

    리눅스에서 흔히들 /etc/rc.local 을 만들어서 사용하시죠?

    시놀리지에서 위의 경로로 사용해 보니 동작하지 않아서 검색해 보았더니

    /usr/syno/etc/rc.d 에 원하는 스크립트를 S99파일.sh 를 넣고
    chmod 700 S99파일명.sh 을 해주면 리부팅시마다 처리된다고 합니다.

    이거 설정을 몇달째 안해놔서 가끔 부팅할때마다 /root 에 넣어둔 스크립트를 실행하고 있었네요

    아래 출처의 내용도 옮겨두었는데 저 같은 경우는 다른 폴더는 안되고 /usr/syno/etc/rc.d/S99파일명.sh 이것만 되더라구요

    ----------------------------------------------
    http://forum.synology.com/enu/viewtopic.php?f=77&t=51025

    On startup post-edit, scripts run in this order:
    1. /usr/local/etc/rc.d/S[00->99]scriptname.sh start
    These are all of the Synology Scripts.

    2. /etc/rc.optware start (executed by rc.local)
    This script mounts your /opt with your /volume1/@optware

    3. /usr/local/etc/rc.d/optware.sh start (executed by unknown syno script)
    This now rechecks your mounts on startup, and executes /opt/etc/rc.optware start.

    4. /opt/etc/rc.optware start (executed by /usr/local/etc/rc.d/optware.sh)
    This executes a /opt/etc/init.d/S[00->99]scriptname.sh start

    5. /opt/etc/init.d/S[00->99]scriptname.sh start (executed by /opt/etc/rc.optware)
    This is where optware packages will install their startup scripts. This is the correct place.

    On shutdown, scripts run in this order:
    1. /usr/local/etc/rc.d/optware.sh stop (executed by unknown syno script)
    This script does some logging on umount, then executes /opt/etc/rc.optware stop.

    2. /opt/etc/rc.optware stop (executed by /usr/local/etc/rc.d/optware.sh)
    This executes a /opt/etc/init.d/K[00->99]scriptname.sh stop

    3. /opt/etc/init.d/K[00->99]scriptname.sh stop (executed by /opt/etc/rc.optware)
    This is where optware packages will install their shutdown scripts.

    4. /usr/syno/etc/rc.d/S[00->99]scriptname.sh stop 
    These are all of the Synology Scripts. 

    \r\n

     

    ♠ shimss home 는 컴퓨터자료 windows10, server 2012 2016 r2 xpenology WinPE 헤/시놀로지 NAS 그누보드 아미나,APMS 모바일 pc 홈페이지 일상생활 을 위하여 정보를 찾아 공유 합니다.♠ 출처는 링크 참조 바랍니다.♠ https://11q.kr.com https://11q.kr https://11q.kr http://33.iptime.org
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,677 / 12 Page
    [ 시놀로지 알림 이메일 설정 테스트 서버 점검 ]

    시놀로지 알림 이메일 설정 테스트나스 이메일 계정 shimss@11q.kr아래와 같이 이메일 테스트 이상 없음설정참고로 그누보드 메일인증을 위한…

    [ Synology Intel CPU 기반 시스템에 ipkg 설치 ] 댓글 1

    xpenology,ipkg,installSynology Intel CPU 기반 시스템에 ipkg 설치ipkg 설치 작업을 아래정보를 확인 진행 …

    [ (해결방법 찾고 있음) apache http server 2.2 중지됨 ]

    apache http server 2.2 중지됨◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

    [ 펌)n3150 우분투 서버에서 tvheadend 하드웨어 트랜스코딩 성공했습니다. ]

    n3150 우분투 서버에서 tvheadend 하드웨어 트랜스코딩 성공했습니다....펌 자료 입니다.https://www.clien.net/ser…

    [ 홈페이지 페이지 이동(리다이렉트Redirect) index.html index.php .htaccess … ]

    HTML 페이지 이동(리다이렉트Redirect)저의 홈피 / 홈페이지페이지 이동(리다이렉트Redirect)index.html index.php.…

    [ 리눅스 웹 기반 모니터링 툴 netdata u5pvr 정보 ] 댓글 1

    리눅스 웹 기반 모니터링 툴 netdata u5pvr 정보https://cafe.naver.com/mk802/31149의정보저의 모니터링은htt…

    [ U5PVR 펨웨어 인터넷 업데이트/재설치 인터널 니눅스 설치후 재설치 합니다. ]

    U5PVR 펨웨어 인터넷 업데이트/재설치 인터널 니눅스 설치후 재설치 합니다.재설치전에home 디랙토리를 백업 해놓으세요< 초기설정>…

    [ 도돌 키보드 -안드로이드 tv /pc 키보드에서 하드웨어 키보드 한영 전환이 가능한 한글어플 ]

    도돌 키보드 -안드로이드 tv /pc 키보드에서 하드웨어 키보드 한영 전환이 가능한 한글어플gt-mini-a 에서 lg리모컨 한영전환을 사용을 …

    [ Beelink GT-King Pro 도착에 대한 준비작업 ]

    Beelink GT-King Pro 도착에 대한 준비작업1.현재 펨웨어 확인.정상부팅 설치없이 기본동작 프로그램 구동 확인.reset 부트확인…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-28 10:58:50

    오늘의 홈 현황


    • 현재 접속자♨ 493 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 7 명
    • 오늘 방문자 1,340 명
    • 어제 방문자 2,126 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,400,495 명
    • 전체 게시물※ 8,661 개
    • 전체 댓글수※ 24,781 개
    • 전체 회원수 11,072 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑